Re: [tcpdump-workers] pcap_activate can cause pcap_geterr to return

2009-08-07 Thread Dustin Spicuzza
Dustin Spicuzza wrote: > On linux using the latest GIT: > > If you use pcap_create followed by pcap_activate when an interface > doesn't actually exist (ie, PCAP_ERROR_IFACE_NOT_UP is returned), then > pcap_geterr will return a blank value. > > I noticed that the documentation does mention all th

[tcpdump-workers] pcap_activate can cause pcap_geterr to return a blank string

2009-08-07 Thread Dustin Spicuzza
On linux using the latest GIT: If you use pcap_create followed by pcap_activate when an interface doesn't actually exist (ie, PCAP_ERROR_IFACE_NOT_UP is returned), then pcap_geterr will return a blank value. I noticed that the documentation does mention all the various error codes that could be