Hi list,
Attached patches update libpcap (WinPcap) compile and runtime information:
$ ./ethereal -v
ethereal 0.10.0
Compiled with GTK+ 2.2.1, with GLib 2.2.1, with libpcap 2.4 (WinPcap),
without libz, with libpcre 4.4, without UCD-SNMP or Net-SNMP, without ADNS.
Running with libpcap (version unknown) (WinPcap 3.0.1 alpha) on
CYGWIN_NT-5.1 1.5.5(0.94/3/2)
I tested this on my cygwin environment with WinPcap 3.0.1 alpha (reported as
libpcap 2.4).
Could an MSVC user test this too (capture-wpcap.c is required then instead
of pcap-util-unix.c)? You'll have to define HAVE_WINPCAP_PACKETGETVERSION in
your top-level config.h (I attached mine as an example), and you'll likely
have to add packet.dll to the required libraries (for PacketGetVersion()) in
Makefile.nmake.
Please review and add the (hopefully obvious) missing MSVC stuff before
checking in.
Regards,
Olivier
<<acinclude.m4.diff>> <<pcap-util-unix.c.diff>> <<capture-wpcap.c.diff>>
Attachment:
config.h
Description: Binary data
Attachment:
acinclude.m4.diff
Description: Binary data
Attachment:
pcap-util-unix.c.diff
Description: Binary data
Attachment:
capture-wpcap.c.diff
Description: Binary data