diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-16 11:48:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-16 19:53:43 +0200 |
commit | 543e7f405e3dc502ef0a69f0b85a745bdbc998ee (patch) | |
tree | 6fdb44ef203e067189dde9b7029bc8cc24584d19 /src/mnl.c | |
parent | 83fca32ec0e18a601c8f250f2767b5bba88566b6 (diff) |
cache: incorrect flags for create commands
# nft create table testD
# nft create chain testD test6
Error: No such file or directory
create chain testD test6
^^^^^
Handle 'create' command just like 'add' and 'insert'. Check for object
types to dump the tables for more fine grain listing, instead of dumping
the whole ruleset.
Fixes: 7df42800cf89 ("src: single cache_update() call to build cache before evaluation")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/mnl.c')
0 files changed, 0 insertions, 0 deletions