mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Display any interface with multipath on in wizard
This commit is contained in:
parent
d5b2c79d6b
commit
606a74124e
1 changed files with 3 additions and 3 deletions
|
@ -129,10 +129,10 @@
|
||||||
<legend><%:Interfaces settings%></legend>
|
<legend><%:Interfaces settings%></legend>
|
||||||
<div class="cbi-section-descr"><%:You must disable DHCP on your modems and set IP in different networks.%></div>
|
<div class="cbi-section-descr"><%:You must disable DHCP on your modems and set IP in different networks.%></div>
|
||||||
<%
|
<%
|
||||||
for _, iface in ipairs(ifaces) do
|
for _, iface in ipairs(net:get_networks()) do
|
||||||
--if not (iface == "lo" or iface:match("^tun.*")) then
|
|
||||||
local ifname = iface:name()
|
local ifname = iface:name()
|
||||||
if (ifname:match("^wan.*")) then
|
local multipath = uci:get("network",ifname,"multipath")
|
||||||
|
if multipath ~= "off" then
|
||||||
%>
|
%>
|
||||||
<div class="cbi-section-remove right">
|
<div class="cbi-section-remove right">
|
||||||
<input type="submit" name="delete.<%=ifname%>" value="<%:Delete%>" class="cbi-button" />
|
<input type="submit" name="delete.<%=ifname%>" value="<%:Delete%>" class="cbi-button" />
|
||||||
|
|
Loading…
Reference in a new issue