nmap/libdnet-stripped/src
david e108318cd2 In intf_get_pcap_devname, allow a match if only the hardware address
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.
2010-07-14 16:44:59 +00:00
..
addr-util.c
addr.c
arp-bsd.c
arp-ioctl.c
arp-none.c
arp-win32.c
blob.c Changd some calls to ctype functions so that their arguments are explicitly cast 2009-08-06 16:12:21 +00:00
crc32ct.h o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
err.c
eth-bsd.c Open bpf devices in read/write mode, not read-only, in libdnet on BSD. This is 2009-11-09 04:49:32 +00:00
eth-dlpi.c o Fixed the parsing of libdnet DLPI interface names that contain more 2010-02-28 19:45:39 +00:00
eth-linux.c
eth-ndd.c
eth-none.c
eth-pfilt.c
eth-snoop.c
eth-win32.c Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving 2010-05-13 04:06:53 +00:00
fw-none.c
intf-win32.c In intf_get_pcap_devname, allow a match if only the hardware address 2010-07-14 16:44:59 +00:00
intf.c Use socklen_t as the type in arguments to getsockname and getsockopt to 2009-08-07 00:11:57 +00:00
ip-cooked.c
ip-util.c o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
ip-win32.c
ip.c Use socklen_t as the type in arguments to getsockname and getsockopt to 2009-08-07 00:11:57 +00:00
ip6.c
Makefile.am
Makefile.in autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
memcmp.c
rand.c
route-bsd.c
route-hpux.c
route-linux.c
route-none.c
route-win32.c
strlcat.c
strlcpy.c
strsep.c
tun-bsd.c
tun-linux.c
tun-none.c
tun-solaris.c