mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch dropped due to upstream 002-Add-missing-compiler_state_t-parameter.patch dropped due to upstream 202-protocol_api.patch dropped due to implemented upstream by another way upstream commit:55c690f6f8and renamed via:697b1f7e9bead is the only user who use the protocol api, we have to use the new api since libpcap 1.9.0 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
		
			
				
	
	
		
			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
 | |
| @@ -72,7 +72,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
 |