diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-06-01 14:16:03 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-06-01 14:16:03 +0000 |
commit | 13a3f7964297ed0ab8064b445f8bb993a7a6efc5 (patch) | |
tree | f5c693454b7acbafcca4bfec470c5e36cfbeafe0 /sbin/ping | |
parent | eb2c7fd4c525dbce423339d737b86ed9c30b308c (diff) |
tweak previous;
Diffstat (limited to 'sbin/ping')
-rw-r--r-- | sbin/ping/ping.8 | 12 | ||||
-rw-r--r-- | sbin/ping/ping.c | 6 |
2 files changed, 9 insertions, 9 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); |