svn commit: r296660 - head/sbin/ping

Maxim Konovalov maxim at FreeBSD.org
Fri Mar 11 15:26:57 UTC 2016


Author: maxim
Date: Fri Mar 11 15:26:56 2016
New Revision: 296660
URL: https://svnweb.freebsd.org/changeset/base/296660

Log:
  o Document net.inet.icmp.maskfake and net.inet.icmp.tstamprepl sysctls.

Modified:
  head/sbin/ping/ping.8

Modified: head/sbin/ping/ping.8
==============================================================================
--- head/sbin/ping/ping.8	Fri Mar 11 14:57:40 2016	(r296659)
+++ head/sbin/ping/ping.8	Fri Mar 11 15:26:56 2016	(r296660)
@@ -28,7 +28,7 @@
 .\"     @(#)ping.8	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd April 4, 2006
+.Dd March 11, 2016
 .Dt PING 8
 .Os
 .Sh NAME
@@ -201,10 +201,17 @@ print the netmask of the remote machine.
 Set the
 .Va net.inet.icmp.maskrepl
 MIB variable to enable
-.Dv ICMP_MASKREPLY .
+.Dv ICMP_MASKREPLY
+and
+.Va net.inet.icmp.maskfake
+if you want to override the netmask in the response.
 For
 .Cm time ,
 print the origination, reception and transmission timestamps.
+Set the
+.Va net.inet.icmp.tstamprepl
+MIB variable to enable or disable
+.Dv ICMP_TSTAMPREPLY .
 .It Fl m Ar ttl
 Set the IP Time To Live for outgoing packets.
 If not specified, the kernel uses the value of the


More information about the svn-src-head mailing list