]> The Tcpdump Group git mirrors - libpcap/commit
Don't lose the addresses for interfaces.
authorGuy Harris <[email protected]>
Sat, 11 Jan 2014 02:37:59 +0000 (18:37 -0800)
committerGuy Harris <[email protected]>
Sat, 11 Jan 2014 02:37:59 +0000 (18:37 -0800)
commit0bb3f4d8ee0210e012c58b4ea7dc2fe5c06a73fa
tree318736045dbace49e746861a4717a5405e96cc75
parente562fac8c72e920c294a8cc46bddf49f44694b96
Don't lose the addresses for interfaces.

pcap_add_if() doesn't add addresses; instead of the existing sort code
called by pcap_findalldevs(), change the code for inserting interfaces
into the list to use a "figure of merit" that takes the running, up, and
loopback bits into account, as well as the number from the interface
name, rather than just the interface name, into account.
inet.c
pcap.c