]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: larger number of error locations
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Oct 2020 12:45:48 +0000 (14:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Oct 2020 12:45:48 +0000 (14:45 +0200)
commit27362a5bfa4336476038cfe00a699f0b68a984aa
treedf49bf97896878e0a4a8ed2c361578fdfb8a1286
parent701e5dee5f53a131cd46d761f40db4c74ce3d33c
rule: larger number of error locations

Statically store up to 32 locations per command, if the number of
locations is larger than 32, then skip rather than hit assertion.

Revisit this later to dynamically store location per command using a
hashtable.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/rule.h
src/rule.c