fw4: allow family `any` for ipsets not matching IP addresses
authorJo-Philipp Wich <[email protected]>
Sat, 27 Jul 2024 13:36:52 +0000 (21:36 +0800)
committerJo-Philipp Wich <[email protected]>
Mon, 17 Mar 2025 16:08:52 +0000 (17:08 +0100)
commit42d3b3d4ca214d967eabb1138be386ddd0665726
tree7f72f80a05a2060c8f6e49ed2116f7c0e3d72a88
parentedfdfc6df48477e449935955d637b5f957f6c825
fw4: allow family `any` for ipsets not matching IP addresses

When filtering by MAC address, it is usually necessary to filter both IPv4
and IPv6.

If it is not allowed to set the family of ipset to any, it will be necessary
to create a separate, identical ipset for both IPv4 and IPv6.

Fixes: https://github.com/openwrt/firewall4/issues/16
Suggested-by: zsien <[email protected]>
[fix redirect cases, reword commit subject, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <[email protected]>
root/usr/share/ucode/fw4.uc