1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2020-07-16 16:01:09 +02:00
parent 361a7b8373
commit fd505e9e97

View file

@ -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