<%: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
%>