summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Dee <itsascambutmailmeanyway@gmail.com>2023-02-10 21:15:00 +0100
committerPaul Dee <itsascambutmailmeanyway@gmail.com>2023-02-17 12:57:32 +0100
commit7bf1c2daa02c070e6c8b76eadadd1648ed592851 (patch)
tree1a3f2686ebea0803709872e493c98fd4470f1249
parenta53164c880e33150d83fef6c905f445f1e00fbd8 (diff)
luci-app-firewall: remove the '', 'any' mapping in icmpv6 entries
This prevents its inconsistent checked/unchecked behaviour when exiting and re-entering the dialogue. Tested on 22.03.3 Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
-rw-r--r--applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
index c579c4aab1..9908121637 100644
--- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
+++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
@@ -294,8 +294,7 @@ return view.extend({
o.multiple = true;
o.custom = true;
o.cast = 'table';
- o.placeholder = _('any');
- o.value('', 'any');
+ o.placeholder = _('any/all');
o.value('address-mask-reply');
o.value('address-mask-request');
o.value('address-unreachable'); /* ipv6 */