luci-app-firewall: remove the '', 'any' mapping in icmpv6 entries
authorPaul Dee <itsascambutmailmeanyway@gmail.com>
Fri, 10 Feb 2023 20:15:00 +0000 (21:15 +0100)
committerPaul Dee <itsascambutmailmeanyway@gmail.com>
Fri, 17 Feb 2023 11:57:32 +0000 (12:57 +0100)
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>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js

index c579c4aab18c382bef740cd29c9489d58cc7cf7e..9908121637c0abb97fa9e3ab98a7423fc63bc7a5 100644 (file)
@@ -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 */