I get this on one machine:

[root@janus /root]# ping -qnc1 sit.skills.asn.au ; echo $?
PING sit.skills.asn.au (203.42.220.190): 56 data bytes
 
--- sit.skills.asn.au ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
1

yet from another machine I get:

[root@hero /root]# ping -qnc1 sit.skills.asn.au ; echo $?
PING sit.skills.asn.au (203.42.220.190) from 203.41.237.74 : 56(84) bytes of data.
 
--- sit.skills.asn.au ping statistics ---
1 packets transmitted, 0 packets received, +1 errors, 100% packet loss
0

Both pings fail to find the site which is correct, but the earlier version
on janus returns the correct error code, iaw the man page, whereas the
later version on hero returns the incorrect error code.  How am I supposed
to know whether the ping finds the site if the error codes don't return
properly.

Howard.
______________________________________________________
LANNet Computing Associates <http://www.lannet.com.au>

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to