On Wed, 2006-10-04 at 17:51 +0200, Hannes Gredler wrote: > checked in. > can you make a fresh checkout and verify if everything is working as expected > ?
It works. Or at least it seams to work :-). It probably needs more testing, anyway I tried it with wireshark and grabbed the attached capture files. The first is obtained plugging a mouse into the use port, and the second unplugging it. BTW I noticed that the sll.header does not contains the usual pre-processor guards. The attached patch add them. best regards, Paolo
? add_guards_to_sll.patch ? libpcap.so.0.9-PRE-CVS Index: pcap/sll.h =================================================================== RCS file: /tcpdump/master/libpcap/pcap/sll.h,v retrieving revision 1.1 diff -u -r1.1 sll.h --- pcap/sll.h 5 Oct 2006 06:38:07 -0000 1.1 +++ pcap/sll.h 5 Oct 2006 08:40:21 -0000 @@ -73,6 +73,9 @@ * packets in them. */ +#ifndef lib_pcap_sll_h +#define lib_pcap_sll_h + /* * A DLT_LINUX_SLL fake link-layer header. */ @@ -122,3 +125,5 @@ */ #define LINUX_SLL_P_802_3 0x0001 /* Novell 802.3 frames without 802.2 LLC header */ #define LINUX_SLL_P_802_2 0x0004 /* 802.2 frames (not D/I/X Ethernet) */ + +#endif
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.