]> err.no Git - linux-2.6/blobdiff - net/ipv6/netfilter/ip6t_hbh.c
[NETFILTER]: make ipv6_find_hdr() find transport protocol header
[linux-2.6] / net / ipv6 / netfilter / ip6t_hbh.c
index 1d09485111d0119de9468624ff5db6c36cf6a681..e3bc8e2700e77ee5cb03a30955894856f90a3e67 100644 (file)
@@ -71,9 +71,9 @@ match(const struct sk_buff *skb,
        unsigned int optlen;
        
 #if HOPBYHOP
-       if (ipv6_find_hdr(skb, &ptr, NEXTHDR_HOP) < 0)
+       if (ipv6_find_hdr(skb, &ptr, NEXTHDR_HOP, NULL) < 0)
 #else
-       if (ipv6_find_hdr(skb, &ptr, NEXTHDR_DEST) < 0)
+       if (ipv6_find_hdr(skb, &ptr, NEXTHDR_DEST, NULL) < 0)
 #endif
                return 0;