svn commit: r333176 - head/usr.sbin/traceroute6

Michael Tuexen tuexen at FreeBSD.org
Wed May 2 19:36:47 UTC 2018


Author: tuexen
Date: Wed May  2 19:36:46 2018
New Revision: 333176
URL: https://svnweb.freebsd.org/changeset/base/333176

Log:
  Fix in the documentation that the default hop limit is not 30, but
  the value of the sysctl variable net.inet6.ip6.hlim.
  This is true since
  https://svnweb.freebsd.org/base?view=revision&revision=122574
  The default of 30 (which was correct up to r122574) was incorrectly
  documented in
  https://svnweb.freebsd.org/base?view=revision&revision=130268
  
  Thanks to Timo Voelker for makeing me aware of the inconsistency
  between to code and the documentation.
  
  MFC after:	3 days

Modified:
  head/usr.sbin/traceroute6/traceroute6.8

Modified: head/usr.sbin/traceroute6/traceroute6.8
==============================================================================
--- head/usr.sbin/traceroute6/traceroute6.8	Wed May  2 19:36:29 2018	(r333175)
+++ head/usr.sbin/traceroute6/traceroute6.8	Wed May  2 19:36:46 2018	(r333176)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 27, 2018
+.Dd May 2, 2018
 .Dt TRACEROUTE6 8
 .Os
 .\"
@@ -112,7 +112,10 @@ is not specified, and only numeric addresses if
 is specified.
 .It Fl m Ar hoplimit
 Specify maximum hoplimit, up to 255.
-The default is 30 hops.
+The default is the value of the
+.Va net.inet6.ip6.hlim
+.Xr sysctl 8
+(the same default used for TCP connections).
 .It Fl n
 Do not resolve numeric address to hostname.
 .It Fl N


More information about the svn-src-all mailing list