patch-2.4.25 linux-2.4.25/net/ipv4/icmp.c

Next file: linux-2.4.25/net/ipv4/igmp.c
Previous file: linux-2.4.25/net/ipv4/fib_rules.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/net/ipv4/icmp.c linux-2.4.25/net/ipv4/icmp.c
@@ -604,7 +604,7 @@
 		{
 			if (net_ratelimit())
 				printk(KERN_WARNING "%u.%u.%u.%u sent an invalid ICMP type %u, code %u error to a broadcast: %u.%u.%u.%u on %s\n",
-					NIPQUAD(iph->saddr),
+					NIPQUAD(skb->nh.iph->saddr),
 					icmph->type, icmph->code,
 					NIPQUAD(iph->daddr),
 					skb->dev->name);

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