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
..
1994-09-05 13:54:02 +00:00
1994-08-05 09:14:37 +00:00
1994-11-19 17:55:35 +00:00
1994-10-14 17:15:40 +00:00
1994-09-24 03:18:32 +00:00
1994-11-19 17:55:35 +00:00
1994-11-19 17:55:35 +00:00
1994-11-20 22:41:03 +00:00
1994-11-20 22:46:14 +00:00
1994-11-20 22:46:14 +00:00
1994-11-20 22:47:52 +00:00
1994-11-20 22:47:52 +00:00
1994-05-26 06:35:07 +00:00
1994-11-27 23:52:13 +00:00
1994-10-18 03:41:16 +00:00
1994-10-29 23:58:55 +00:00
1994-05-28 03:56:49 +00:00