mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
4297f4f901
Update libpcap to upstream release 1.8.1 Change the name from libpcap.so.1.3 to libpcap.so.1 Remove parts of patch 201 which moved code among src files. Import patch 204 from Debian to update the USB path. Signed-off-by: Paul Wassi <p.wassi@gmx.at> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix parallel build bug]
14 lines
415 B
Diff
14 lines
415 B
Diff
Fix USB bus path; /proc/bus/usb is deprecated.
|
|
|
|
--- a/pcap-usb-linux.c
|
|
+++ b/pcap-usb-linux.c
|
|
@@ -71,7 +71,7 @@
|
|
#define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon"
|
|
#define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon"
|
|
#define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
|
|
-#define PROC_USB_BUS_DIR "/proc/bus/usb"
|
|
+#define PROC_USB_BUS_DIR "/dev/bus/usb"
|
|
#define USB_LINE_LEN 4096
|
|
|
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|