]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libebt_ip6: Use xtables_ip6parse_any()
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Jun 2021 12:04:43 +0000 (14:04 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 7 Jun 2021 12:50:27 +0000 (14:50 +0200)
commitca840c20b7b754d36a1abe7e597fd730dea142d4
tree7ef4a39166609a858e9c07d5106ddfa1cc4a14a6
parent084671d5acaaf749648e828c2ed3b319de651764
extensions: libebt_ip6: Use xtables_ip6parse_any()

The code was almost identical and suffered from the same problem as
fixed in commit a76a5c997a235 ("libxtables: fix two off-by-one memory
corruption bugs").

The only functional change this involves is ebt_parse_ip6_address() will
now accept hostnames as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libebt_ip6.c