From 7bf1c2daa02c070e6c8b76eadadd1648ed592851 Mon Sep 17 00:00:00 2001 From: Paul Dee Date: Fri, 10 Feb 2023 21:15:00 +0100 Subject: [PATCH] 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 --- .../htdocs/luci-static/resources/view/firewall/rules.js | 3 +-- 1 file changed, 1 insertion(+), 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 */ -- 2.30.2