1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Support note for omr-bypass and various fix

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-31 21:12:14 +01:00
parent f942713b98
commit 0b87cb7b76
3 changed files with 25 additions and 2 deletions

View file

@ -21,6 +21,8 @@ hn.rmempty = true
ifd = s:option(ListValue, "interface", translate("Interface"))
ifd.rmempty = true
dn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "ips", translate("IPs and Networks"))
s.addremove = true
s.anonymous = true
@ -34,6 +36,9 @@ ip.optional = false
ifi = s:option(ListValue, "interface", translate("Interface"))
ifi.rmempty = true
inn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "dest_port", translate("Ports destination"))
s.addremove = true
s.anonymous = true
@ -54,6 +59,8 @@ proto.optional = false
ifdp = s:option(ListValue, "interface", translate("Interface"))
ifdp.rmempty = true
dpn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "macs", translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
s.addremove = true
s.anonymous = true
@ -73,6 +80,8 @@ end)
ifm = s:option(ListValue, "interface", translate("Interface"))
ifm.rmempty = true
macn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "lan_ip", translate("Source lan IP address or network"))
s.addremove = true
s.anonymous = true
@ -86,6 +95,8 @@ ip.optional = false
ifl = s:option(ListValue, "interface", translate("Interface"))
ifl.rmempty = true
lanipn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "asns", translate("<abbr tittle=\"Autonomous System Number\">ASN</abbr>"))
s.addremove = true
s.anonymous = true
@ -98,6 +109,8 @@ asn.optional = false
ifa = s:option(ListValue, "interface", translate("Interface"))
ifa.rmempty = true
asnn = s:option(Value,"note",translate("Note"))
s = m:section(TypedSection, "dpis", translate("Protocols and services"))
s.addremove = true
s.anonymous = true
@ -124,6 +137,9 @@ end
ifp = s:option(ListValue, "interface", translate("Interface"))
ifp.rmempty = true
psn = s:option(Value,"note",translate("Note"))
ifd.default = "all"
ifi.default = "all"
ifp.default = "all"