Re: [tcpdump-workers] pcap_findalldevs, pcap_addr doesn't have AF_INET entries on OSX

2011-04-03 Thread Bob
Yes, I'm checking the whole linked list. I get an AF_LINK and AF_INET6 per interface but no AF_NET. Works great on Ubuntu. Probably something simple I'll keep debugging. -Rob On Apr 3, 2011, at 10:14 AM, Guy Harris wrote: > > On Apr 2, 2011, at 7:40 PM, Bob wrote: >

[tcpdump-workers] pcap_findalldevs, pcap_addr doesn't have AF_INET entries on OSX

2011-04-02 Thread Bob
Hello, I just noticed that no AF_INET address is returned when getting an interface list (from pcap_findalldevs) on OSX even when an IPv4 address is assigned to that interface. An AF_INET6 address is however returned. Is this the expect behavior? Am I do something wrong? Also, any suggestions