]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables: fix standard target
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 7 Oct 2012 22:55:43 +0000 (00:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 7 Oct 2012 22:58:04 +0000 (00:58 +0200)
commit2aaa7ec29059027756f076c4767b4fa034ebd166
treef1613f46ced938469805ab3795f2db72c2acdda2
parent3fdf783ec78e7a7bffb2cd48d5bc6b3264b00dd2
iptables: fix standard target

This regression was added by:

commit cd2f9bdbb7f9b737e5d640aafeb78bcd8e3a7adf
Author: Jan Engelhardt <jengelh@inai.de>
Date:   Tue Sep 4 05:24:47 2012 +0200

    iptables: support for target aliase

The result is that:

 iptables -I INPUT -j ACCEPT

says:

 iptables: No chain/target/match by that name.

This also breaks iptables-restore, of course. Jan, you'll have to explain me
how you have tested this.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/ip6tables.c
iptables/iptables.c