tcpdump mailing list archives

How to check if pcap_t is really free?


From: Nadav Vinik <nadavvin () gmail com>
Date: Thu, 20 Jun 2013 19:44:00 +0300

Hello

How do I check if pcap handler is really free?

After pcap_close handle is not NULL  since the following printf is not print

thanks
Nadav

pcap_close(handle);
        if(handle == NULL) {
            printf("handle is null\n");
      }

-- 
הבלוג שלי:
http://nadavvin.com
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: