]> The Tcpdump Group git mirrors - libpcap/commit
From Paolo Abeni:
authorguy <guy>
Sun, 15 Oct 2006 18:20:26 +0000 (18:20 +0000)
committerguy <guy>
Sun, 15 Oct 2006 18:20:26 +0000 (18:20 +0000)
commit24f60579bc70a94e29256b92f81f6b7e3a85f1b8
tree1c082b7d7af38efad6ae0ba7292c973febca64f6
parent455aff8ba9495985ee622ce38d69dd5795d6e2de
From Paolo Abeni:

The attached patch fix an off by one in current usb sniffing
code.  It also substitute the kernel-provided timestamp with
gettimeofday.  The kernel provided timestamp use 32 bits to
represent a struct timeval (8 bits for tv_sec and 24 for
tv_usec), so it's content is quite misleading.
pcap-usb-linux.c