summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-29 14:23:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-29 14:39:01 +0200
commitea0e0e08cd69dff9107454ef217bfbc0a18f15f6 (patch)
treefbe3e371beb37d1c77bb10ea86690d09e0173697 /tests
parentd70cf33fdce309b81bba623d65aafbc2658e0c9a (diff)
cmd: incorrect table location in error reporting
If the command refers to an inexisting table, then use the table location. ruleset.nft:3:12-12: Error: No such file or directory; did you mean table ‘filter’ in family ip? add rule x x ip saddr @x log prefix "Anti SSH-Bruteforce: " drop ^ before this patch location is not correct: ruleset.nft:3:12-12: Error: No such file or directory; did you mean table ‘filter’ in family ip? add rule x x ip saddr @x log prefix "Anti SSH-Bruteforce: " drop ^ Fixes: 0276c2fee939 ("cmd: check for table mismatch first in error reporting") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions