Re: [tcpdump-workers] backward compatibility in pcap_loop(3PCAP)?

2020-08-22 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- > That's where other "some of what this manual page says doesn't apply > to older versions of libpcap" items go, so it'd make sense. Alright, that's done now, thanks! -- Denis Ovsienko --- End Message --- ___ tcpdump-workers

Re: [tcpdump-workers] backward compatibility in pcap_loop(3PCAP)?

2020-08-21 Thread Guy Harris via tcpdump-workers
--- Begin Message --- On Aug 21, 2020, at 2:48 PM, Denis Ovsienko via tcpdump-workers wrote: > 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

[tcpdump-workers] backward compatibility in pcap_loop(3PCAP)?

2020-08-21 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message --- 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