commit | ad7c6f503c0c77b35ee6bd42e68f2c657ebae5ba | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Wed Jan 18 20:39:03 2017 -0800 |
committer | Guy Harris <guy@alum.mit.edu> | Wed Jan 18 20:39:03 2017 -0800 |
tree | b63dc8f533b3a194fa390a03b19f19abdbaed21c | |
parent | 5c85fdf69d14b7c95cba3c69c7964583293be6ae [diff] |
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.