summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo@netfilter.org>2020-06-16 11:20:42 +0200
committerArturo Borrero Gonzalez <arturo@netfilter.org>2020-06-16 11:20:42 +0200
commit2757c0b5e5fbbf569695469b331453cecefdf069 (patch)
tree2c264d452026e6a8f142a8438e11bef8c7364c96 /autogen.sh
parent848b4889274edb2ec6ef6218f3d8b55288dc4151 (diff)
xtables-translate: don't fail if help was requested
If the user called `iptables-translate -h` then we have CMD_NONE and we should gracefully handle this case in do_command_xlate(). Before this patch, you would see: user@debian:~$ sudo iptables-translate -h [..] nft Unsupported command? user@debian:~$ echo $? 1 After this patch: user@debian:~$ sudo iptables-translate -h [..] user@debian:~$ echo $? 0 Fixes: d4409d449c10fa ("nft: Don't exit early after printing help texts") Acked-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions