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
- Lines: 9
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/net/ipv4/icmp.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
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)