Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 19:36:46 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333176 - head/usr.sbin/traceroute6
Message-ID:  <201805021936.w42JakfN039113@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805021936.w42JakfN039113>