summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-06-27 10:20:46 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-06-27 12:00:07 +0200
commit0f82b07f20178ea39e77a8dd90eeeebc412646e0 (patch)
tree6d8ed95018c6739b2441f5e580162dc417cefd22 /tests
parent15b3be2e721067e25898a366f009e1a83f908967 (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 'tests')
0 files changed, 0 insertions, 0 deletions