tcpdump mailing list archives

Re: Problem with pcap_set_datalink DLT_IEEE802_11_RADIO


From: Guy Harris <guy () alum mit edu>
Date: Tue, 17 Sep 2013 18:01:45 -0700


On Sep 11, 2013, at 12:56 AM, Elton Lika <tonlika () live com> 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....
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: