summaryrefslogtreecommitdiff
blob: e5524ac3baee3d97c4cbd993a9c28111579f9423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/configure.ac
+++ b/configure.ac
@@ -2225,10 +2225,7 @@
       AC_DEFINE(PCAP_SUPPORT_LINUX_USBMON, 1, [target host supports Linux usbmon for USB sniffing])
       MODULE_C_SRC="$MODULE_C_SRC pcap-usb-linux.c"
       AC_MSG_RESULT(yes)
-      ac_usb_dev_name=`udevinfo -q name -p /sys/class/usb_device/usbmon 2>/dev/null`
-      if test $? -ne 0 ; then
-        ac_usb_dev_name="usbmon"
-      fi
+      ac_usb_dev_name="usbmon"
       AC_DEFINE_UNQUOTED(LINUX_USB_MON_DEV, "/dev/$ac_usb_dev_name", [path for device for USB sniffing])
       AC_MSG_NOTICE(Device for USB sniffing is /dev/$ac_usb_dev_name)
       #