]> The Tcpdump Group git mirrors - libpcap/blobdiff - inet.c
From Roman Francoise: rename the USB-sniffing devices to "usbmonN", so
[libpcap] / inet.c
diff --git a/inet.c b/inet.c
index 9cd7df7d20f0a20e8a81e43cce5352ebcc2d24e3..11efbf4a321626f1874dfd02223e1243cb6e1232 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -669,7 +669,7 @@ pcap_lookupnet(device, netp, maskp, errbuf)
            || strstr(device, "bluetooth") != NULL
 #endif
 #ifdef PCAP_SUPPORT_USB
-           || strstr(device, "usb") != NULL
+           || strstr(device, "usbmon") != NULL
 #endif
            ) {
                *netp = *maskp = 0;