mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Remove display of gre and loopback in MPTCP app
This commit is contained in:
parent
3cb3b80572
commit
b869935ff7
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,9 @@ else
|
||||||
end
|
end
|
||||||
|
|
||||||
s = m:section(TypedSection, "interface", translate("Interfaces Settings"))
|
s = m:section(TypedSection, "interface", translate("Interfaces Settings"))
|
||||||
|
function s.filter(self, section)
|
||||||
|
return not section:match("^oip.*") and not section:match("^lo.*") and section ~= "omrvpn" and section ~= "omr6in4"
|
||||||
|
end
|
||||||
o = s:option(ListValue, "multipath", translate("Multipath TCP"), translate("One interface must be set as master"))
|
o = s:option(ListValue, "multipath", translate("Multipath TCP"), translate("One interface must be set as master"))
|
||||||
o:value("on", translate("enabled"))
|
o:value("on", translate("enabled"))
|
||||||
o:value("off", translate("disabled"))
|
o:value("off", translate("disabled"))
|
||||||
|
|
Loading…
Reference in a new issue