Skip to contentSkip to conversation

: Make eui64 match usuable in FORWARD chain

PATCH In review Patrick McHardy 1 participant 1 message Nov 15, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 3/9 : Make eui64 match usuable in FORWARD chain

eui64 match can used in FORWARD chain.

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/11/04 03:16:30+01:00 [email protected]
# [NETFILTER]: Make eui64 match usuable in FORWARD chain
#
# Signed-off-by: Yasuyuki KOZAKAI <[email protected]>
# Signed-off-by: Patrick McHardy <[email protected]>
#

# net/ipv6/netfilter/ip6t_eui64.c
#   2004/11/04 03:16:23+01:00 [email protected] +1 -1
#   [NETFILTER]: Make eui64 match usuable in FORWARD chain
#   
#   Signed-off-by: Yasuyuki KOZAKAI <[email protected]>
#   Signed-off-by: Patrick McHardy <[email protected]>
# 
diff -Nru a/net/ipv6/netfilter/ip6t_eui64.c b/net/ipv6/netfilter/ip6t_eui64.c
--- a/net/ipv6/netfilter/ip6t_eui64.c	2004-11-15 22:06:28 +01:00
+++ b/net/ipv6/netfilter/ip6t_eui64.c	2004-11-15 22:06:28 +01:00
@@ -69,7 +69,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;
 	}