diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-02-19 15:35:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-02-19 17:29:30 +0100 |
commit | 0e52cab1e64ab8dc14d064115adce54fa05174e1 (patch) | |
tree | 6611356e42524a6f8422debdc0b00de79ce15f53 /include/exthdr.h | |
parent | 6cce26e03778c57bbdbe4653c839de4325d21807 (diff) |
src: improve error reporting when remove rules
# nft delete rule ip y z handle 7
Error: Could not process rule: No such file or directory
delete rule ip y z handle 7
^
# nft delete rule ip x z handle 7
Error: Could not process rule: No such file or directory
delete rule ip x z handle 7
^
# nft delete rule ip x x handle 7
Error: Could not process rule: No such file or directory
delete rule ip x x handle 7
^
# nft replace rule x y handle 10 ip saddr 1.1.1.2 counter
Error: Could not process rule: No such file or directory
replace rule x y handle 10 ip saddr 1.1.1.2 counter
^^
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/exthdr.h')
0 files changed, 0 insertions, 0 deletions