mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-10-31 10:49:03 +08:00 
			
		
		
		
	 c62117c665
			
		
	
	c62117c665
	
	
	
		
			
			Fall through to /usr/sbin/conntrack tool if /proc/net/nf_conntrack is not available. /proc/net/nf_conntrack has been obsoleted in recent kernels (https://cateee.net/lkddb/web-lkddb/NF_CONNTRACK_PROCFS.html). This change enables sys.net.conntrack() to return conntrack information via the /usr/sbin/conntrack tool (if installed) instead. Enables population of the /luci/admin/status/realtime/connections list. Signed-off-by: James Fox <jpfox156@yahoo.com.au> [ format using tabs ] Signed-off-by: Paul Donald <newtwen+github@gmail.com>