]> git.ipfire.org Git - thirdparty/nftables.git/commit
scanner: Fix for ipportmap nat statements
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Mar 2022 13:45:49 +0000 (14:45 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 2 Mar 2022 14:01:41 +0000 (15:01 +0100)
commite8f0fa21fd77ecc51faf39cefa3cccdb7d6a30cf
tree43ce10b68a3ad395aa84da1a020292945d61c66f
parent59d184be2d17be0bec5077eb7b0724cdc21ae7aa
scanner: Fix for ipportmap nat statements

Due to lookahead, "addr" keyword is still found in IP/IP6 scope, not
STMT_NAT one.

Fixes: a67fce7ffe7e4 ("scanner: nat: Move to own scope")
Signed-off-by: Phil Sutter <phil@nwl.cc>
src/scanner.l