freebsd-dev/sbin/ping
David Greenman 6e1173dc29 In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
..
Makefile Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
ping.8 BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
ping.c In past releases of FreeBSD, I have used the exit status of "ping" to 1994-11-29 16:09:56 +00:00