Update ping(8) code and manpage to the newest ones from FreeBSD.
authorHasso Tepper <hasso@dragonflybsd.org>
Tue, 29 May 2007 10:21:41 +0000 (10:21 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Tue, 29 May 2007 10:21:41 +0000 (10:21 +0000)
commit33413c3e260aa6841fab56dfcda94989b1cfef1d
tree7b0ebded82e8389ee8665028a534bb9bc0c8f3d8
parent392b77458b0af38644940d04af07c645d934ff7f
Update ping(8) code and manpage to the newest ones from FreeBSD.
Besides many small fixes this brings in some new features:

  * -D to set Don't Fragment bit
  * -G, -g and -h for sweeping pings
  * -M for using ICMP_MASKREQ or ICMP_TSTAMP instead of ICMP_ECHO
  * -o to exit successfully after receiving one reply packet
  * -W to set time to wait for a reply for each packet sent
  * -z to set TOS

Significant part of diff not related to the new features is coming
from reordering command line options into alphabetic order.

Obtained-from: FreeBSD
sbin/ping/ping.8
sbin/ping/ping.c