diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-11-30 11:11:49 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2021-12-06 15:02:37 +0100 |
commit | 919436e47e0e78f10d5528e5b28dca492c3a14f2 (patch) | |
tree | daf6872b80ece4cf92ea79b43035d964e836176f /applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3 | |
parent | 09576ca8c0301ee43c64b6d23d7283a4e35f0874 (diff) |
luci-app-mwan3: move proto select after ip version selection
Redmine-patch-id: 6620
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3')
-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'; |