]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables-translate: Printing the table name before chain name.
authorGuruswamy Basavaiah <guru2018@gmail.com>
Thu, 7 Apr 2016 19:38:14 +0000 (01:08 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 Apr 2016 17:16:58 +0000 (19:16 +0200)
commit75a1d2eb25cdbf12042cad97eee45fec167e390c
treebd87a57c9c03679e57951d9ebf59eb136c9c984d
parentd7b813f0a097f81c5781a6a6f08c1d41a4affead
iptables-translate: Printing the table name before chain name.

Command ./iptables-restore-translate, was printing
table name before the chain name for user added chains.
This is breaking ./nft -f command.

Before fix, output of "./iptables-restore-translate"
add chain ip OUTPUT_direct raw

After fix:
add chain ip raw OUTPUT_direct

Signed-off-by: Guruswamy Basavaiah <guru2018@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/xtables-translate.c