diff options
-rw-r--r-- | sbin/ping/ping.8 | 12 | ||||
-rw-r--r-- | sbin/ping6/ping6.8 | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index 3bd9bc1928d..c8bcc18dac5 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ping.8,v 1.46 2011/09/17 14:10:05 haesbaert Exp $ +.\" $OpenBSD: ping.8,v 1.47 2012/10/13 16:34:08 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: September 17 2011 $ +.Dd $Mdocdate: October 13 2012 $ .Dt PING 8 .Os .Sh NAME @@ -243,10 +243,6 @@ management. Because of the load it can impose on the network, it is unwise to use .Nm during normal operations or from automated scripts. -.Pp -.Nm -exits 0 if at least one reply is received, -and \*(Gt0 if no reply is received or an error occurred. .Sh ICMP PACKET DETAILS An IP header without options is 20 bytes. An ICMP @@ -357,6 +353,10 @@ Some machines use the same value for ICMP packets that they use for TCP packets, for example either 30 or 60. Others may use completely wild values. .El +.Sh EXIT STATUS +.Nm +exits 0 if at least one reply is received, +and \*(Gt0 if no reply is received or an error occurred. .Sh SEE ALSO .Xr netstat 1 , .Xr ifconfig 8 , diff --git a/sbin/ping6/ping6.8 b/sbin/ping6/ping6.8 index 92fad6da615..a406192546b 100644 --- a/sbin/ping6/ping6.8 +++ b/sbin/ping6/ping6.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ping6.8,v 1.44 2012/09/22 20:09:43 jmc Exp $ +.\" $OpenBSD: ping6.8,v 1.45 2012/10/13 16:34:08 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: September 22 2012 $ +.Dd $Mdocdate: October 13 2012 $ .Dt PING6 8 .Os .Sh NAME @@ -304,10 +304,6 @@ management. Because of the load it can impose on the network, it is unwise to use .Nm during normal operations or from automated scripts. -.Pp -.Nm -exits 0 if at least one reply is received, -and \*(Gt0 if no reply is received or an error occurred. .\" .Sh ICMP PACKET DETAILS .\" An IP header without options is 20 bytes. .\" An @@ -378,6 +374,10 @@ This file can then be examined for repeated patterns that can be tested using the .Fl p option. +.Sh EXIT STATUS +.Nm +exits 0 if at least one reply is received, +and \*(Gt0 if no reply is received or an error occurred. .Sh EXAMPLES Normally, .Nm |