typo in ping.c?
Subsystems (2)
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