diff options
Diffstat (limited to 'applications/luci-app-mwan3/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js index 5cec172c83..47a2c6c489 100644 --- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js +++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js @@ -39,6 +39,16 @@ return view.extend({ o.value('ipv6', _('IPv6 only')); o.modalonly = true; + o = s.option(form.Value, 'proto', _('Protocol'), + _('View the content of /etc/protocols for protocol description')); + o.default = 'all'; + o.rmempty = false; + o.value('all'); + o.value('tcp'); + o.value('udp'); + o.value('icmp'); + o.value('esp'); + o = s.option(form.Value, 'src_ip', _('Source address'), _('Supports CIDR notation (eg \"192.168.100.0/24\") without quotes')); o.datatype = 'ipaddr'; @@ -57,16 +67,6 @@ return view.extend({ o.depends('proto', 'tcp'); o.depends('proto', 'udp'); - o = s.option(form.Value, 'proto', _('Protocol'), - _('View the content of /etc/protocols for protocol description')); - o.default = 'all'; - o.rmempty = false; - o.value('all'); - o.value('tcp'); - o.value('udp'); - o.value('icmp'); - o.value('esp'); - o = s.option(form.ListValue, 'sticky', _('Sticky'), _('Traffic from the same source IP address that previously matched this rule within the sticky timeout period will use the same WAN interface')); o.default = '0'; |