diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm index 4fca28a7c..a94ca706e 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm @@ -129,10 +129,10 @@ <%:Interfaces settings%>
<%:You must disable DHCP on your modems and set IP in different networks.%>
<% - for _, iface in ipairs(ifaces) do - --if not (iface == "lo" or iface:match("^tun.*")) then + for _, iface in ipairs(net:get_networks()) do local ifname = iface:name() - if (ifname:match("^wan.*")) then + local multipath = uci:get("network",ifname,"multipath") + if multipath ~= "off" then %>