luci-app-firewall: remove the '', 'any' mapping in icmpv6 entries
authorPaul Dee <[email protected]>
Fri, 10 Feb 2023 20:15:00 +0000 (21:15 +0100)
committerJo-Philipp Wich <[email protected]>
Mon, 3 Apr 2023 11:51:44 +0000 (13:51 +0200)
This prevents its inconsistent checked/unchecked behaviour when exiting
and re-entering the dialogue.

Tested on 22.03.3

Signed-off-by: Paul Dee <[email protected]>
(cherry picked from commit 7bf1c2daa02c070e6c8b76eadadd1648ed592851)

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 */