Your message dated Sun, 06 Feb 2005 08:02:18 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#293856: fixed in fping 2.4b2-to-ipv6-10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Feb 2005 11:51:48 +0000
>From [EMAIL PROTECTED] Sun Feb 06 03:51:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from sirppi.helsinki.fi [128.214.205.27] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cxkx9-0005JS-00; Sun, 06 Feb 2005 03:51:47 -0800
Received: from sirppi.helsinki.fi (localhost [127.0.0.1])
        by sirppi.helsinki.fi (8.13.2/8.13.2) with ESMTP id j16Bpj1C093422
        for <[EMAIL PROTECTED]>; Sun, 6 Feb 2005 13:51:45 +0200 (EET)
Received: (from [EMAIL PROTECTED])
        by sirppi.helsinki.fi (8.13.2/8.13.2/Submit) id j16Bpjhp100902
        for [EMAIL PROTECTED]; Sun, 6 Feb 2005 13:51:45 +0200 (EET)
Date: Sun, 6 Feb 2005 13:51:44 +0200
From: Niko Tyni <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fping: unnecessary delay with the "-c" option after the last packet
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="IJpNTDwzlM2Ie8A6"
Content-Disposition: inline
User-Agent: Mutt/1.4.2i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: fping
Version: 2.4b2-to-ipv6-9
Severity: normal
Tags: patch

In ping counting mode (the "-c" and "-C" options) fping always waits
for the whole timeout interval after sending the last ping, even when
it gets the response faster. This is not a big issue with the default
timeout of 500 milliseconds, but becomes very noticeable with a longer
timeout (the "-t" option).

The problem does not occur in the default (non-counting) mode. Consider:

kalimantan% time fping  -t5000 www.debian.org
www.debian.org is alive
fping -t5000 www.debian.org  0.00s user 0.00s system 3% cpu 0.091 total

vs.

kalimantan% time fping -t5000 -c1 www.debian.org
www.debian.org : [0], 84 bytes, 53.5 ms (53.5 avg, 0% loss)

www.debian.org : xmt/rcv/%loss = 1/1/0%, min/avg/max = 53.5/53.5/53.5
fping -t5000 -c1 www.debian.org  0.00s user 0.00s system 0% cpu 5.023 total


A straightforward one-line patch attached. Please consider including it.

Thanks,
-- 
Niko Tyni               [EMAIL PROTECTED]

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fping.patch"

--- fping.c     2005/02/05 20:45:30     1.1
+++ fping.c     2005/02/05 20:46:56
@@ -1139,7 +1139,7 @@
                /* but allow time for the last one to come in */
                if( count_flag )
                {
-                       if( ( cursor->num_sent >= count ) && ( ht > 
cursor->timeout ) )
+                       if( ( cursor->num_sent >= count ) && ( cursor->num_recv 
>= count || ht > cursor->timeout ) )
                        {
                                remove_job( cursor );
                                continue;

--IJpNTDwzlM2Ie8A6--

---------------------------------------
Received: (at 293856-close) by bugs.debian.org; 6 Feb 2005 13:08:02 +0000
>From [EMAIL PROTECTED] Sun Feb 06 05:08:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cxm8w-0000AD-00; Sun, 06 Feb 2005 05:08:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Cxm3O-00088c-00; Sun, 06 Feb 2005 08:02:18 -0500
From: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#293856: fixed in fping 2.4b2-to-ipv6-10
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 06 Feb 2005 08:02:18 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: fping
Source-Version: 2.4b2-to-ipv6-10

We believe that the bug you reported is fixed in the latest version of
fping, which is due to be installed in the Debian FTP archive:

fping_2.4b2-to-ipv6-10.diff.gz
  to pool/main/f/fping/fping_2.4b2-to-ipv6-10.diff.gz
fping_2.4b2-to-ipv6-10.dsc
  to pool/main/f/fping/fping_2.4b2-to-ipv6-10.dsc
fping_2.4b2-to-ipv6-10_i386.deb
  to pool/main/f/fping/fping_2.4b2-to-ipv6-10_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated fping package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 06 Feb 2005 23:25:57 +1100
Source: fping
Binary: fping
Architecture: source i386
Version: 2.4b2-to-ipv6-10
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 fping      - sends ICMP ECHO_REQUEST packets to network hosts
Closes: 293856
Changes: 
 fping (2.4b2-to-ipv6-10) unstable; urgency=low
 .
   * Fixed "unnecessary delay with the -c option after the last packet"
     (Closes: #293856). Patch by Niko Tyni <[EMAIL PROTECTED]>
   * New maintainer's email address.
Files: 
 a7d5fa9122ead9efbe920ea4cd6c10b0 589 net optional fping_2.4b2-to-ipv6-10.dsc
 a3780f164f91f0cde370bc32008f0ff8 4815 net optional 
fping_2.4b2-to-ipv6-10.diff.gz
 5aa6678380c7479c02fa21b88d693c6e 29276 net optional 
fping_2.4b2-to-ipv6-10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCBg6ngY5NIXPNpFURAsx3AKCoscAbST1nzzVbs3edWJ2/545hhwCaAs7g
OQn5S53yLL/3Ev/N9Yzln80=
=xhjw
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to