]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-linux.c
From Roman Francoise: rename the USB-sniffing devices to "usbmonN", so
[libpcap] / pcap-linux.c
index 43dfe926707aca4a12ecf241794c583f189b4dde..9314eec13544193ebc14fa391690abf771e6b1ad 100644 (file)
@@ -324,7 +324,7 @@ pcap_create(const char *device, char *ebuf)
 #endif
 
 #ifdef PCAP_SUPPORT_USB
-       if (strstr(device, "usb")) {
+       if (strstr(device, "usbmon")) {
                return usb_create(device, ebuf);
        }
 #endif