diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-25 12:53:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-12 20:34:21 +0200 |
commit | c9737a3ace1739ca447bf904c78434f4de0c2890 (patch) | |
tree | d604cea43d35b85d71fc2cc6af3501208ba05007 /src/erec.c | |
parent | 4b3d579c281aa07282531369d43e799d6276dd22 (diff) |
evaluate: check if set exists before listing it
After this patch, we obtain:
# nft list set ip6 test pepe
<cmdline>:1:1-22: Error: Could not process rule: Set 'foo' does not exist
list set ip6 test foo
^^^^^^^^^^^^^^^^^^^^^
So we get things aligned with table and chain listing commands.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Diffstat (limited to 'src/erec.c')
0 files changed, 0 insertions, 0 deletions