diff options
author | Phil Sutter <phil@nwl.cc> | 2018-11-12 14:29:46 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-12 14:34:10 +0100 |
commit | 3ccb443df988fd1d476de55d6ad1f69919d936af (patch) | |
tree | 6a5b0875cdca18e79c87aef3bdc10f94477f2ef9 /extensions/libxt_LED.c | |
parent | 95db36442a85d9d920f737bbe1f28f145ee3f1b8 (diff) |
xtables: Clarify error message when deleting by index
Trying to delete a rule by index from a non-existent chain leads to a
somewhat confusing error message:
| # iptables-nft -D foobar 1
| iptables: Index of deletion too big.
Fix this by performing chain existence checks for CMD_DELETE_NUM, too.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_LED.c')
0 files changed, 0 insertions, 0 deletions