From ec7ba7960458839733c8ab31523fabc28743b2f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dennis=20J=C3=B8rgensen?= Date: Thu, 11 Sep 2003 02:59:17 -0700 Subject: [PATCH] [IPV4]: Fix wrong IP address in icmp.c error message. --- net/ipv4/icmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 715919c772346..822de55052f9a 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -669,7 +669,7 @@ static void icmp_unreach(struct sk_buff *skb) 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); -- 2.53.0