diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-27 10:20:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-27 12:00:07 +0200 |
commit | 0f82b07f20178ea39e77a8dd90eeeebc412646e0 (patch) | |
tree | 6d8ed95018c6739b2441f5e580162dc417cefd22 /src/gmputil.c | |
parent | 15b3be2e721067e25898a366f009e1a83f908967 (diff) |
mnl: store netlink error location for set elements
Store set element location in the per-command netlink error location
array. This allows for fine grain error reporting when adding and
deleting elements.
# nft -f test.nft
test.nft:5:4-20: Error: Could not process rule: File exists
00:01:45:09:0b:26 : drop,
^^^^^^^^^^^^^^^^^
test.nft contains a large map with one redundant entry.
Thus, users do not have to find the needle in the stack.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/gmputil.c')
0 files changed, 0 insertions, 0 deletions