luci-app-firewall: add the any value for ipsets family
authorPaul Donald <[email protected]>
Sat, 1 Nov 2025 22:03:13 +0000 (23:03 +0100)
committerPaul Donald <[email protected]>
Sat, 1 Nov 2025 22:03:13 +0000 (23:03 +0100)
Allow some extra flexibility for rules that are IP family agnostic.

Closes #8061

Signed-off-by: Paul Donald <[email protected]>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js

index 0b767d1576eef7b3719ab90807b4d65e116d1c8e..ddcf2e02bde4411b47c64fb9177dcbf5bb6ced21 100644 (file)
@@ -65,6 +65,7 @@ return view.extend({
 
 
                o = s.option(form.ListValue, 'family', _('Family'));
+               o.value('any', _('IPv4 and IPv6'))
                o.value('ipv4', _('IPv4'));
                o.value('ipv6', _('IPv6'));
                o.default = 'ipv4';