Bug 100609 - ping icmp_seq starts at 1
Summary: ping icmp_seq starts at 1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iputils
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-23 17:36 UTC by jmccann
Modified: 2015-03-05 01:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-09-03 15:07:39 UTC
Embargoed:


Attachments (Terms of Use)

Description jmccann 2003-07-23 17:36:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701

Description of problem:
Ping on Solaris and Debian starts icmp_seq at 0.  Apparently on RH it starts at one.

Is there a reason for this?  This makes it difficult to make a cross
distribution tool that reads the ping results.

Version-Release number of selected component (if applicable):
iputils-20020927-6

How reproducible:
Always

Steps to Reproduce:
1. ping www.google.com

    

Actual Results:  On RH9 w/ rawhide iptools built from SRPM
% ping www.google.com
PING www.google.com (216.239.57.99) 56(84) bytes of data.
64 bytes from 216.239.57.99: icmp_seq=1 ttl=45 time=92.1 ms
64 bytes from 216.239.57.99: icmp_seq=2 ttl=45 time=93.6 ms


Expected Results:  On Solaris and possibly others:
% ping -s www.google.com
PING www.google.com: 56 data bytes
64 bytes from 216.239.33.99: icmp_seq=0. time=88. ms
64 bytes from 216.239.33.99: icmp_seq=1. time=89. ms


Additional info:

Comment 1 Phil Knirsch 2003-09-03 15:07:39 UTC
Included in iputils-20020927-9 and later.

Read ya, Phil



Note You need to log in before you can comment on or make changes to this bug.