: Backport fixes for ip6t_eui64
PATCH 11/18 : Backport fixes for ip6t_eui64
Backport fixes for ip6t_eui64.
# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/12/05 23:19:08+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]>
#
# net/ipv6/netfilter/ip6t_eui64.c # 2004/12/05 23:19:06+01:00 [email protected] +1 -1 # [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]> # diff -Nru a/net/ipv6/netfilter/ip6t_eui64.c b/net/ipv6/netfilter/ip6t_eui64.c --- a/net/ipv6/netfilter/ip6t_eui64.c 2004-12-20 07:01:24 +01:00 +++ b/net/ipv6/netfilter/ip6t_eui64.c 2004-12-20 07:01:24 +01: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; }