Use DLT_USB_LINUX as the link-layer type, as we now supply the Linux
header.
This commit is contained in:
parent
eda5020549
commit
31d7c82a44
|
@ -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()"
|
||||
|
|
Reference in New Issue