Skip to contentSkip to conversation

typo in ping.c?

DISCUSSION Julian C. Dunn 1 participant 1 message Jan 6, 2011

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

I sent this about a month ago to Yoshifuji Hideaki but didn't hear anything. Perhaps it could use a wider distribution.

- Julian

-----Original Message-----
From: Julian C. Dunn [mailto:[email protected]]
Sent: Sunday, December 12, 2010 8:49 PM
To: 'YOSHIFUJI Hideaki'
Subject: typo in ping.c?

Hi,

I'm not an expert in C code or in iputils but I think I found a typographical error in this commit:

http://www.linux-ipv6.org/gitweb/gitweb.cgi?p=gitroot/iputils.git;a=commitdi
ff;h=d5e3dcb81ff3828fa40eb4e8c562ca7015d7ac6a

The previous version printed the icmp_seq inline within ping_common.c, but in your diff you are now invoking a function void pr_echo_reply(). Unfortunately, it looks like "icmp_seq" is spelled wrong: you have it spelled as "icmp_req".

I discovered this when trying to use a tool that depended on the spelling of "icmp_seq" and it failed.

- Julian