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

Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/net/ipv4/fib.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/net/ipv4/icmp.c linux/net/ipv4/icmp.c
@@ -754,7 +754,7 @@
 	if(__ip_chk_addr(iph->daddr)==IS_BROADCAST)
 	{
 		printk("%s sent an invalid ICMP error to a broadcast.\n",
-			in_ntoa(iph->daddr));
+			in_ntoa(skb->nh.iph->saddr));
 		kfree_skb(skb, FREE_READ);
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov