diff options
author | 谢致邦 (XIE Zhibang) <Yeking@Red54.com> | 2024-02-21 15:17:09 +0000 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2024-02-28 00:21:42 +0100 |
commit | f27f032b8da584d4447dc03b3ccd3370433e2c0f (patch) | |
tree | 93e5e8db55e6b1c9ad60c96ddd751f8909812966 /src/parser_bison.y | |
parent | e4f59f2dc68fb2e6d62a6c37e04366a8ebd199cf (diff) |
src: improve error reporting for destroy command
Example for older kernels (<6.3):
nft destroy table ip missingtable
Before:
Error: Could not process rule: Invalid argument
After:
Error: "destroy" command is not supported, perhaps kernel support is
missing?
Fixes: e1dfd5cc4c46 ("src: add support to command "destroy"")
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions