On Sep 12, 2013, at 11:29 AM, Elton Lika wrote:
> Also pcap_list_datalinks returns only DLT_NULL for the device.
I.e.. pcap_list_datalinks() returns 1, and the first (and only) entry in the
list it supplies has 0 (DLT_NULL) in it?
Are you calling it before, or after, calling pcap_activate()?
On Sep 11, 2013, at 12:56 AM, Elton Lika wrote:
> Here is the source code excerpt that fails:
...
>pcap_activate(handle);
In particular, it fails to check whether pcap_activate() succeeds.
What does pcap_activate() return? It's not guaranteed to succeed
_