]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser: compact interval typeof rules
authorFlorian Westphal <fw@strlen.de>
Tue, 27 Feb 2024 14:50:05 +0000 (15:50 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 29 Feb 2024 23:32:11 +0000 (00:32 +0100)
commit81fc7aee0d523d61077518534036ff10beddb3e9
tree5e39a330a0279fd8b271fa7b8f8516aa951d6131
parentf27f032b8da584d4447dc03b3ccd3370433e2c0f
parser: compact interval typeof rules

There are two nearly identical blocks for typeof maps:
one with INTERVAL keyword present and one without.

Compact this into a single block.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/parser_bison.y