Wireshark-bugs: [Wireshark-bugs] [Bug 6765] ipp - last packet is always malformed

Date: Wed, 25 Jan 2012 11:52:49 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6765

--- Comment #3 from Guy Harris <guy@xxxxxxxxxxxx> 2012-01-25 11:52:48 PST ---
In particular, there currently is no reliable way to get the number of the
version of libpcap with which a program was compiled if it's dynamically-linked
with libpcap - the "version" variable is, on at least some platforms, imported
from the library with which the program is running, not the version with which
it was linked (and if the two are of different lengths, you get run-time
warnings from the run-time linker, which is another reason not to look at the
"version" variable).

And, yes, it might as well just say "with libpcap" in the "compiled with"
string for now.

At some point I might look into having pcap/pcap.h #define a version string, so
that in some future libpcap release you can get the compiled-with version
(which could be useful to determine which APIs the version with which the
program was compiled and built offered).  If so, then putting "(version
unknown)" back with older versions of libpcap would make sense.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.