fw4.uc: allow use of cidr in ipsets
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 6 Nov 2021 00:29:37 +0000 (02:29 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 6 Jan 2022 12:52:02 +0000 (14:52 +0200)
commitbe5f4e33c6388935651e6a87c4e5348ade0bd714
tree8c33c96da1eec7b8cf76ce9bf5a25acf05f3eaa6
parent5e7ad3b44041d044b8221fc38588aca7d6ef066f
fw4.uc: allow use of cidr in ipsets

Sets of type ipv4_addr or ipv6_addr support entries in CIDR notation.
However, the parse_ipsetentry ignores them. Fix this by using
parse_subnet instead of iptoarr.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc