summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-09 13:20:23 +0000
committerru <ru@FreeBSD.org>2001-03-09 13:20:23 +0000
commitaf372cc53b3076abbbbdf41709d79cc2756bb5cd (patch)
tree315644d5325c57bf13b640f2d82d1858f400f8c9 /sbin/ping/ping.8
parent81365aaa678708838618bcc166a53860e8156329 (diff)
downloadFreeBSD-src-af372cc53b3076abbbbdf41709d79cc2756bb5cd.zip
FreeBSD-src-af372cc53b3076abbbbdf41709d79cc2756bb5cd.tar.gz
Add new option -m which allows the user to set IP TTL.
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.86
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index 33f7e75..9a29388 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.
OpenPOWER on IntegriCloud