Skip to contentSkip to conversation

iputils: ping: Fix typo in echo reply

PATCH In review Jan Synacek 2 participants 3 messages Oct 3, 2012 – Oct 7, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iputils: ping: Fix typo in echo reply

Hello,

here is a fix for a typo that's currently present in ping.

Cheers,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat

Quoted 1 line

From 3b5623a03279538ca9a6f3796626c1aad9ef5477 Mon Sep 17 00:00:00 2001

From: Jan Synacek <[email protected]>
Date: Wed, 3 Oct 2012 10:14:45 +0200
Subject: [PATCH] ping: Fix typo in echo reply

---
 ping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ping.c +1 -1
index 1425d1d..3ab2ae0 100644
@@ -705,7 +705,7 @@ int send_probe()
 void pr_echo_reply(__u8 *_icp, int len)
 {
 	struct icmphdr *icp = (struct icmphdr *)_icp;
-	printf(" icmp_req=%u", ntohs(icp->un.echo.sequence));
+	printf(" icmp_seq=%u", ntohs(icp->un.echo.sequence));
 }
 
 int
Signature · 1 line
1.7.11.4
#1 lore raw

Hello.

Quoted 9 lines · Jan Synacek

Hello,

here is a fix for a typo that's currently present in ping.

Cheers,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat

Good catch. Applied, thank you!

--yoshfuji

#2 lore raw
In reply to Jan Synacek

Hello.

Quoted 9 lines · Jan Synacek

Hello,

here is a fix for a typo that's currently present in ping.

Cheers,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat

Good catch. Applied, thank you!

--yoshfuji