1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Remove display of gre and loopback in MPTCP app

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-07-04 21:44:51 +02:00
parent 3cb3b80572
commit b869935ff7

View file

@ -97,6 +97,9 @@ else
end
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:value("on", translate("enabled"))
o:value("off", translate("disabled"))