Wireless Mesh Networking (WMN) is an emerging technology in order to provide a possibility to build a network that can grow in terms of coverage to offer service access (i.e. internet access) for a large number of people with different needs. Wireless mesh networks are more vulnerable to wormhole attack (one out of much kind of attacks). In a typical wormhole attack, two or more malicious nodes plan together by establishing a tunnel using an efficient communication medium. The aim of this paper is to describe a wormhole detection algorithm for wireless mesh networks which detect the wormholes by calculating neighbor list and directional neighbor list of the source node.