Package: iputils-ping
Version: 3:20071127-1
Severity: normal


Please include the following patch so that ping reports how many packets failed the icmp checksum.

--- ping.c  (revision 150)
+++ ping.c  (working copy)
@@ -709,7 +709,7 @@
            return 1;           /* 'Twas not our ECHO */
        if (gather_statistics((__u8*)(icp+1), cc,
                      ntohs(icp->un.echo.sequence),
-                     ip->ttl, 0, tv, pr_addr(from->sin_addr.s_addr)))
+ ip->ttl, csfailed, tv, pr_addr(from->sin_addr.s_addr)))
            return 0;
    } else {
        /* We fall here when a redirect or source quench arrived.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iputils-ping depends on:
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries

iputils-ping recommends no packages.

iputils-ping suggests no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to