From 31d7c82a4491933d601264213e813273f209fd84 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 20 Dec 2006 08:21:10 +0000 Subject: [PATCH] Use DLT_USB_LINUX as the link-layer type, as we now supply the Linux header. --- pcap-usb-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c index 4f4b7ee..244778f 100644 --- a/pcap-usb-linux.c +++ b/pcap-usb-linux.c @@ -195,7 +195,7 @@ usb_open_live(const char* bus, int snaplen, int promisc , int to_ms, char* errms handle->md.timeout = to_ms; handle->bufsize = snaplen; handle->offset = 0; - handle->linktype = DLT_USB; + handle->linktype = DLT_USB_LINUX; /* * "handle->fd" is a real file , so "select()" and "poll()"