diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-03-09 13:20:23 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-03-09 13:20:23 +0000 |
commit | 211bfbd228c9f201758c80024feadd909dbd313b (patch) | |
tree | 34de4dac99c8debe38a0cbd0a5ddfb37741d040f /sbin/ping/ping.8 | |
parent | ff7405adba8ce466e57b4bb9c5d82b7af18058df (diff) | |
download | src-211bfbd228c9f201758c80024feadd909dbd313b.tar.gz src-211bfbd228c9f201758c80024feadd909dbd313b.zip |
Add new option -m which allows the user to set IP TTL.
Notes
Notes:
svn path=/head/; revision=74029
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r-- | sbin/ping/ping.8 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index 33f7e756fd71..9a29388d3f35 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -46,6 +46,7 @@ packets to network hosts .Op Fl c Ar count .Op Fl i Ar wait .Op Fl l Ar preload +.Op Fl m Ar ttl .Op Fl p Ar pattern .Op Fl P Ar policy .Op Fl s Ar packetsize @@ -136,6 +137,11 @@ is specified, sends that many packets as fast as possible before falling into its normal mode of behavior. Only the super-user may use this option. +.It Fl m Ar ttl +Set the IP Time To Live for outgoing packets. +If not specified, the kernel uses the value of the +.Va net.inet.ip.ttl +MIB variable. .It Fl L Suppress loopback of multicast packets. This flag only applies if the ping destination is a multicast address. |