aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-usb-linux.c
diff options
context:
space:
mode:
authorguy <guy>2006-12-20 08:21:10 +0000
committerguy <guy>2006-12-20 08:21:10 +0000
commit31d7c82a4491933d601264213e813273f209fd84 (patch)
tree389f467bdbecc2a2293756911831187950e6b0c6 /pcap-usb-linux.c
parenteda5020549824719a7eae2abe6d07f5d741294e4 (diff)
Use DLT_USB_LINUX as the link-layer type, as we now supply the Linux
header.
Diffstat (limited to 'pcap-usb-linux.c')
-rw-r--r--pcap-usb-linux.c2
1 files changed, 1 insertions, 1 deletions
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()"