patch-2.4.22 linux-2.4.22/net/ipv6/netfilter/ip6t_rt.c

Next file: linux-2.4.22/net/ipv6/raw.c
Previous file: linux-2.4.22/net/ipv6/netfilter/ip6t_ipv6header.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/ipv6/netfilter/ip6t_rt.c linux-2.4.22/net/ipv6/netfilter/ip6t_rt.c
@@ -131,7 +131,7 @@
        		return 0;
        }
 
-       route=skb->data+ptr;
+       route = (struct ipv6_rt_hdr *) (skb->data + ptr);
 
        DEBUGP("IPv6 RT LEN %u %u ", hdrlen, route->hdrlen);
        DEBUGP("TYPE %04X ", route->type);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)