diff options
author | imp <imp@FreeBSD.org> | 1999-02-19 07:40:59 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-02-19 07:40:59 +0000 |
commit | f5a1ee1410bf14d4a9eaabf7294076fe76a27e87 (patch) | |
tree | 1316ea8ad6da7a7443a11ca94794a8b0587d9e48 /sbin/ping/ping.8 | |
parent | 4b4ddf1417a40ab82ffa04e0a8a84d1ed3e02e1b (diff) | |
download | FreeBSD-src-f5a1ee1410bf14d4a9eaabf7294076fe76a27e87.zip FreeBSD-src-f5a1ee1410bf14d4a9eaabf7294076fe76a27e87.tar.gz |
Finish documenting -S src-addr change.
Forgotten by: me
Forgotten for: Far Too Long
Gently Reminded by: Ruslan Ermilov <ru@ucb.crimea.ua>
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r-- | sbin/ping/ping.8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index 50aeb08..722dfcd 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)ping.8 8.2 (Berkeley) 12/11/93 -.\" $Id: ping.8,v 1.18 1998/11/29 13:20:04 bde Exp $ +.\" $Id: ping.8,v 1.19 1999/01/06 07:54:27 imp Exp $ .\" .Dd March 1, 1997 .Dt PING 8 @@ -204,6 +204,13 @@ with the 8 bytes of .Tn ICMP header data. Only the super-user may use this option. +.It Fl S Ar src_addr +Use the following IP address as the source address in outgoing packets. +On hosts with more than one IP address, this option can be used to +force the source address to be something other than the IP address +of the interface the probe packet is sent on. If the IP address +is not one of this machine's interface addresses, an error is +returned and nothing is sent. .It Fl T Ar ttl Set the IP Time To Live for multicasted packets. This flag only applies if the ping destination is a multicast address. |