tcpdump mailing list archives

backward compatibility in pcap_loop(3PCAP)?


From: Denis Ovsienko via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Fri, 21 Aug 2020 22:48:34 +0100

--- Begin Message --- From: Denis Ovsienko <denis () ovsienko info>
Date: Fri, 21 Aug 2020 22:48:34 +0100
Hi.

The man page says:

       (In  older  versions  of libpcap, the behavior when cnt was 0
       was undefined; different platforms and devices  behaved
       differently,  so  code that  must work with older versions of
       libpcap should use -1, not 0, as the value of cnt.)

Would it make sense to move this paragraph to a BACKWARD COMPATIBILITY
section and to tell which specific version started to recognise 0 as a
valid value?

-- 
    Denis Ovsienko

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: