[NETFILTER]: Backport fixes for ip6t_eui64

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1541, 2004/12/21 17:37:51+01:00, [email protected]

	[NETFILTER]: Backport fixes for ip6t_eui64
	 
	User cannot insert rule with eui64 match to FORWARD chain.
	 
	Signed-off-by: Yasuyuki KOZAKAI <[email protected]>
	Signed-off-by: Patrick McHardy <[email protected]>



 ip6t_eui64.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/net/ipv6/netfilter/ip6t_eui64.c b/net/ipv6/netfilter/ip6t_eui64.c
--- a/net/ipv6/netfilter/ip6t_eui64.c	2005-01-15 07:04:31 -08:00
+++ b/net/ipv6/netfilter/ip6t_eui64.c	2005-01-15 07:04:31 -08:00
@@ -58,7 +58,7 @@
 {
 	if (hook_mask
 	    & ~((1 << NF_IP6_PRE_ROUTING) | (1 << NF_IP6_LOCAL_IN) |
-		(1 << NF_IP6_PRE_ROUTING) )) {
+		(1 << NF_IP6_FORWARD))) {
 		printk("ip6t_eui64: only valid for PRE_ROUTING, LOCAL_IN or FORWARD.\n");
 		return 0;
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.