diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-10-19 14:45:48 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-10-19 14:45:48 +0200 |
commit | 27362a5bfa4336476038cfe00a699f0b68a984aa (patch) | |
tree | df49bf97896878e0a4a8ed2c361578fdfb8a1286 /include/rule.h | |
parent | 701e5dee5f53a131cd46d761f40db4c74ce3d33c (diff) |
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>
Diffstat (limited to 'include/rule.h')
-rw-r--r-- | include/rule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rule.h b/include/rule.h index ffe8daab..10e71047 100644 --- a/include/rule.h +++ b/include/rule.h @@ -666,7 +666,7 @@ struct monitor { struct monitor *monitor_alloc(uint32_t format, uint32_t type, const char *event); void monitor_free(struct monitor *m); -#define NFT_NLATTR_LOC_MAX 8 +#define NFT_NLATTR_LOC_MAX 32 /** * struct cmd - command statement |