mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
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:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user