mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +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…
Reference in a new issue