mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
matches, but keep searching in case there's an interface where both the hardware address and description string match. Matching only on the hardware address is not sufficient, because several interfaces will have the same address in the case of interface teaming. See the log message for r17542. But this revision broke interface matching for Luis MartinGarcia and Rob Nicholls. For Luis, the call to PacketRequest with OID_GEN_FRIENDLY_NAME was failing. For Rob, the friendly name differed slightly from the description provided by libpcap. This change makes a hardware address match good enough but will prefer a description match too.
libdnet ------- libdnet provides a simplified, portable interface to several low-level networking routines, including network address manipulation, kernel arp(4) cache and route(4) table lookup and manipulation, network firewalling, network interface lookup and manipulation, IP tunnelling, and raw IP packet and Ethernet frame transmission. WWW: http://libdnet.sourceforge.net/ $Id: README 578 2005-02-14 21:00:17Z dugsong $