diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-19 13:59:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-19 19:04:49 +0200 |
commit | d129f83435adf65d30de28d50de0792b731f87a6 (patch) | |
tree | 309a788e789b9d98fa1e92316fedfaae9fdf440d /tests/shell/testcases | |
parent | bada2f9c182dddf72a6d3b7b00c9eace7eb596c3 (diff) |
evaluate: Better error reporting for bad set references
In case you refer to an unexisting set, bail out with:
# nft add table x
# nft add chain x y
# nft add rule x y ip protocol vmap @reject_to_rule2;
<cmdline>:1:31-46: Error: Set 'reject_to_rule2' does not exist
add rule x y ip protocol vmap @reject_to_rule2
^^^^^^^^^^^^^^^^
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases')
0 files changed, 0 insertions, 0 deletions