0a8402914a
instead of icmp_seq beause of that for example cacti ping script does not work anymore (bnc #696720) OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=22
12 lines
328 B
Diff
12 lines
328 B
Diff
--- 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
|