luci-app-firewall: add the any value for ipsets family

Allow some extra flexibility for rules that are IP family agnostic.

Closes #8061

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2025-11-01 23:03:13 +01:00
parent 03a385b576
commit f9e6538c4c

View File

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