]> The Tcpdump Group git mirrors - libpcap/commit
Pass IFF_ flags to add_addr_to_iflist().
authorGuy Harris <[email protected]>
Thu, 19 Jan 2017 04:39:03 +0000 (20:39 -0800)
committerGuy Harris <[email protected]>
Thu, 19 Jan 2017 04:39:03 +0000 (20:39 -0800)
commitad7c6f503c0c77b35ee6bd42e68f2c657ebae5ba
treeb63dc8f533b3a194fa390a03b19f19abdbaed21c
parent5c85fdf69d14b7c95cba3c69c7964583293be6ae
Pass IFF_ flags to add_addr_to_iflist().

It's only used on UN*Xes, so it's only used on systems that have IFF_
flags; have add_addr_to_iflist() do the mapping to PCAP_IF_ flags.

That restores the workaround for systems lacking IFF_LOOPBACK and the
"don't even try" for systems lacking IFF_UP or IFF_RUNNING.
fad-getad.c
fad-gifc.c
fad-glifc.c
pcap-int.h
pcap-linux.c
pcap.c