]> git.ipfire.org Git - thirdparty/nftables.git/commit
scanner: Support rfc4291 IPv4-compatible addresses
authorPhil Sutter <phil@nwl.cc>
Sat, 5 May 2018 12:44:53 +0000 (14:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 6 May 2018 20:56:23 +0000 (22:56 +0200)
commit3f82ef3d0dbf2788fd24ecb20299f99c190ea7ec
tree30e34d7f1ca552a29f2a1633d6e87fa1cc23f69a
parentd3602d721b57fe27345b69f2f761b807cd4a280d
scanner: Support rfc4291 IPv4-compatible addresses

These are defined in section 2.5.5.1. Although it is stated that they
are deprecated and new implementations are not required to support them,
they occur in ruleset output if an address in the form '::feed:babe' was
given in input. In order to support reinsertion of that rule, we have to
support those deprecated addresses as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/scanner.l