Firewall GUI optimizations
This commit is contained in:
parent
37830bc232
commit
25d9dc415f
2 changed files with 0 additions and 4 deletions
|
@ -40,7 +40,6 @@ s:option(Value, "src_ip", translate("firewall_redirect_srcip")).optional = true
|
|||
s:option(Value, "src_mac", translate("firewall_redirect_srcmac")).optional = true
|
||||
|
||||
sport = s:option(Value, "src_port", translate("firewall_redirect_srcport"))
|
||||
sport.optional = true
|
||||
sport:depends("proto", "tcp")
|
||||
sport:depends("proto", "udp")
|
||||
sport:depends("proto", "tcpudp")
|
||||
|
@ -54,7 +53,6 @@ proto:value("tcpudp", "TCP+UDP")
|
|||
|
||||
dport = s:option(Value, "src_dport", translate("firewall_redirect_srcdport"))
|
||||
dport.size = 5
|
||||
dport.optional = true
|
||||
dport:depends("proto", "tcp")
|
||||
dport:depends("proto", "udp")
|
||||
dport:depends("proto", "tcpudp")
|
||||
|
|
|
@ -52,13 +52,11 @@ s:option(Value, "dest_ip", translate("firewall_rule_destip")).optional = true
|
|||
s:option(Value, "src_mac", translate("firewall_rule_srcmac")).optional = true
|
||||
|
||||
sport = s:option(Value, "src_port", translate("firewall_rule_srcport"))
|
||||
sport.optional = true
|
||||
sport:depends("proto", "tcp")
|
||||
sport:depends("proto", "udp")
|
||||
sport:depends("proto", "tcpudp")
|
||||
|
||||
dport = s:option(Value, "dest_port", translate("firewall_rule_destport"))
|
||||
dport.optional = true
|
||||
dport:depends("proto", "tcp")
|
||||
dport:depends("proto", "udp")
|
||||
dport:depends("proto", "tcpudp")
|
||||
|
|
Loading…
Reference in a new issue