dect
/
libpcap
Archived
13
0
Fork 0

Use DLT_USB_LINUX as the link-layer type, as we now supply the Linux

header.
This commit is contained in:
guy 2006-12-20 08:21:10 +00:00
parent eda5020549
commit 31d7c82a44
1 changed files with 1 additions and 1 deletions

View File

@ -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()"