summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2009-06-01 14:16:03 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2009-06-01 14:16:03 +0000
commit13a3f7964297ed0ab8064b445f8bb993a7a6efc5 (patch)
treef5c693454b7acbafcca4bfec470c5e36cfbeafe0
parenteb2c7fd4c525dbce423339d737b86ed9c30b308c (diff)
tweak previous;
-rw-r--r--sbin/ping/ping.812
-rw-r--r--sbin/ping/ping.c6
-rw-r--r--sbin/ping6/ping6.812
3 files changed, 15 insertions, 15 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index df480aee7cb..e79bac81a87 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ping.8,v 1.37 2009/05/31 17:33:39 ckuethe Exp $
+.\" $OpenBSD: ping.8,v 1.38 2009/06/01 14:16:02 jmc Exp $
.\" $NetBSD: ping.8,v 1.10 1995/12/31 04:55:35 ghudson Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: May 31 2009 $
+.Dd $Mdocdate: June 1 2009 $
.Dt PING 8
.Os
.Sh NAME
@@ -83,17 +83,17 @@ Set the
.Dv SO_DEBUG
option on the socket being used.
.It Fl E
-Emit an audible beep (by sending an ascii BEL character to the
+Emit an audible beep (by sending an ASCII BEL character to the
standard error output) when no packet is received before the next
packet is transmitted.
To cater for round-trip times that are longer than the interval between
transmissions, further missing packets cause a bell only if the maximum
number of unreceived packets has increased.
-This is disabled for flood pings.
+This option is disabled for flood pings.
.It Fl e
-Emit an audible beep (by sending an ascii BEL character to the
+Emit an audible beep (by sending an ASCII BEL character to the
standard error output) after each non-duplicate response is received.
-This is disabled for flood pings.
+This option is disabled for flood pings.
.It Fl f
Flood ping.
Outputs packets as fast as they come back or one hundred times per second,
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index d8e8149da97..0b496db8257 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping.c,v 1.80 2009/05/31 17:33:39 ckuethe Exp $ */
+/* $OpenBSD: ping.c,v 1.81 2009/06/01 14:16:02 jmc Exp $ */
/* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */
/*
@@ -43,7 +43,7 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: ping.c,v 1.80 2009/05/31 17:33:39 ckuethe Exp $";
+static const char rcsid[] = "$OpenBSD: ping.c,v 1.81 2009/06/01 14:16:02 jmc Exp $";
#endif
#endif /* not lint */
@@ -1360,7 +1360,7 @@ void
usage(void)
{
(void)fprintf(stderr,
- "usage: ping [-AaDdfLnqRrv] [-c count] [-I ifaddr] [-i wait]\n"
+ "usage: ping [-DdEefLnqRrv] [-c count] [-I ifaddr] [-i wait]\n"
"\t[-l preload] [-p pattern] [-s packetsize] [-T tos] [-t ttl]\n"
"\t[-w maxwait] host\n");
exit(1);
diff --git a/sbin/ping6/ping6.8 b/sbin/ping6/ping6.8
index 17049b1d379..cc1a5dd629b 100644
--- a/sbin/ping6/ping6.8
+++ b/sbin/ping6/ping6.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ping6.8,v 1.40 2009/05/31 17:33:39 ckuethe Exp $
+.\" $OpenBSD: ping6.8,v 1.41 2009/06/01 14:16:02 jmc Exp $
.\" $KAME: ping6.8,v 1.57 2002/05/26 13:18:25 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2009 $
+.Dd $Mdocdate: June 1 2009 $
.Dt PING6 8
.Os
.Sh NAME
@@ -107,17 +107,17 @@ Set the
.Dv SO_DEBUG
option on the socket being used.
.It Fl E
-Emit an audible beep (by sending an ascii BEL character to the
+Emit an audible beep (by sending an ASCII BEL character to the
standard error output) when no packet is received before the next
packet is transmitted.
To cater for round-trip times that are longer than the interval
between transmissions, further missing packets cause a bell only
if the maximum number of unreceived packets has increased.
-This is disabled for flood pings.
+This option is disabled for flood pings.
.It Fl e
-Emit an audible beep (by sending an ascii BEL character to the
+Emit an audible beep (by sending an ASCII BEL character to the
standard error output) after each non-duplicate response is received.
-This is disabled for flood pings.
+This option is disabled for flood pings.
.It Fl f
Flood ping.
Outputs packets as fast as they come back or one hundred times per second,