Date: Wed, 15 Apr 1998 12:21:45 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/6313: backwards ping error report Message-ID: <199804151921.MAA17759@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
>Number: 6313 >Category: bin >Synopsis: backwards ping error report >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 15 12:30:03 PDT 1998 >Last-Modified: >Originator: Archie Cobbs >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: FreeBSD 2.2.6 >Description: If ping write fails with short packet count, the error message prints the two numbers backwards. >How-To-Repeat: >Fix: Index: ping.c =================================================================== RCS file: /cvs/freebsd/src/sbin/ping/ping.c,v retrieving revision 1.8.2.15 diff -c -r1.8.2.15 ping.c *** ping.c 1998/03/06 13:07:12 1.8.2.15 --- ping.c 1998/04/15 19:21:34 *************** *** 592,598 **** warn("sendto"); } else { warn("%s: partial write: %d of %d bytes", ! hostname, cc, i); } } ntransmitted++; --- 592,598 ---- warn("sendto"); } else { warn("%s: partial write: %d of %d bytes", ! hostname, i, cc); } } ntransmitted++; >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804151921.MAA17759>