On 08/10/2015 22:05, Michael Richardson wrote:
Guy Harris <g...@alum.mit.edu> wrote:
> We might also want to, if major == PCAP_VERSION_MAJOR, make sure minor
> <= PCAP_VERSION_MINOR, just in case somebody does a pcap 2.5 that code
> that only knows up to version 2.4 can't handle.
I thought that we'd have to call that 3.0...
In my mind, a minor version mismatch (even one newer) might result in some
bits being ignored (for instance, a TBD very very high precision timestamp data
might be lost), but shouldn't result in any mis-handling.
If we have part of the the test as
(major == PCAP_VERSION_MAJOR && minor <= PCAP_VERSION_MINOR),
We shall know that a new version appeared somewhere and we can act
accordingly ...
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers