mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Use multipath info from network
This commit is contained in:
		
							parent
							
								
									361a7b8373
								
							
						
					
					
						commit
						fd505e9e97
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -316,8 +316,7 @@ end | |||
| <%  | ||||
|     for _, iface in ipairs(net:get_networks()) do | ||||
| 	local ifname = iface:name() | ||||
| 	--local multipath = uci:get("network",ifname,"multipath") | ||||
| 	local multipath = uci:get("openmptcprouter",ifname,"multipath") | ||||
| 	local multipath = uci:get("network",ifname,"multipath") | ||||
| 	local multipathvpn = uci:get("openmptcprouter",ifname,"multipathvpn") | ||||
| 	local vpn = uci:get("openmptcprouter",ifname,"vpn") | ||||
| 	if (multipath ~= nil and multipath ~= "off" and vpn ~= "1") or multipathvpn == "1" then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue