]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/nf_nat_proto_gre.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6] / net / ipv4 / netfilter / nf_nat_proto_gre.c
index 4c4af5a6d6c8a82045a88208128fc1bd6a2bf722..d7e89201351e90d01bbbac1666e913f90e036dbf 100644 (file)
@@ -84,7 +84,7 @@ gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff,
              const struct nf_conntrack_tuple *tuple,
              enum nf_nat_manip_type maniptype)
 {
-       struct gre_hdr *greh;
+       const struct gre_hdr *greh;
        struct gre_hdr_pptp *pgreh;
        const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
        unsigned int hdroff = iphdroff + iph->ihl * 4;