]> err.no Git - linux-2.6/blobdiff - net/ipv4/ip_gre.c
[Bluetooth] Small cleanup of the L2CAP source code
[linux-2.6] / net / ipv4 / ip_gre.c
index 9981dcd68f11e76dc5213832ac20323a6b6dd3d1..6ff9b10d9563c9ef972fb70e06fd88e521b323f9 100644 (file)
@@ -11,7 +11,6 @@
  */
 
 #include <linux/capability.h>
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/sched.h>
@@ -656,7 +655,7 @@ static int ipgre_rcv(struct sk_buff *skb)
                read_unlock(&ipgre_lock);
                return(0);
        }
-       icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0);
+       icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0);
 
 drop:
        read_unlock(&ipgre_lock);