iputils/iputils-pingtypo.diff

12 lines
328 B
Diff
Raw Normal View History

--- ping.c 2011-05-31 10:02:27.076182828 +0200
+++ ping.c 2011-05-31 10:02:34.513776200 +0200
@@ -699,7 +699,7 @@
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