This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / ipv6 / netfilter / ip6t_eui64.c
index 616c2cb..3b1340d 100644 (file)
@@ -24,7 +24,8 @@ match(const struct sk_buff *skb,
       const struct net_device *out,
       const void *matchinfo,
       int offset,
-      unsigned int protoff,
+      const void *hdr,
+      u_int16_t datalen,
       int *hotdrop)
 {
 
@@ -69,7 +70,7 @@ ip6t_eui64_checkentry(const char *tablename,
 {
        if (hook_mask
            & ~((1 << NF_IP6_PRE_ROUTING) | (1 << NF_IP6_LOCAL_IN) |
-               (1 << NF_IP6_FORWARD))) {
+               (1 << NF_IP6_PRE_ROUTING) )) {
                printk("ip6t_eui64: only valid for PRE_ROUTING, LOCAL_IN or FORWARD.\n");
                return 0;
        }