Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2019 10:44:58 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r352055 - stable/11/contrib/traceroute
Message-ID:  <201909091044.x89AiwQV037758@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Mon Sep  9 10:44:58 2019
New Revision: 352055
URL: https://svnweb.freebsd.org/changeset/base/352055

Log:
  The variable names in the description of the port number usage is
  inconsistent. This patch fixes that and improves the precision of
  the description.
  Thanks to Tom Marcoen for reporting the issue and providing an
  initial patch, on which this change is based.
  
  PR:			237723
  Reviewed by:		bcr@
  Differential Revision:	https://reviews.freebsd.org/D20708

Modified:
  stable/11/contrib/traceroute/traceroute.8
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/contrib/traceroute/traceroute.8
==============================================================================
--- stable/11/contrib/traceroute/traceroute.8	Mon Sep  9 03:31:46 2019	(r352054)
+++ stable/11/contrib/traceroute/traceroute.8	Mon Sep  9 10:44:58 2019	(r352055)
@@ -16,7 +16,7 @@
 .\"	$Id: traceroute.8,v 1.19 2000/09/21 08:44:19 leres Exp $
 .\"	$FreeBSD$
 .\"
-.Dd May 31, 2015
+.Dd June 20, 2019
 .Dt TRACEROUTE 8
 .Os
 .Sh NAME
@@ -32,7 +32,7 @@
 .Op Fl m Ar max_ttl
 .Op Fl P Ar proto
 .Op Fl p Ar port
-.Op Fl q Ar nqueries
+.Op Fl q Ar nprobes
 .Op Fl s Ar src_addr
 .Op Fl t Ar tos
 .Op Fl w Ar waittime
@@ -125,14 +125,14 @@ Traceroute hopes that nothing is listening on UDP port
 if used by
 .Nm
 and supported by the peer)
-.Em base + 1
+.Em port + 1
 to
-.Em base + nhops * nprobes
+.Em port + (max_ttl - first_ttl + 1) * nprobes
 at the destination host (so an ICMP PORT_UNREACHABLE message will
 be returned to terminate the route tracing).  If something is
 listening on a port in the default range, this option can be used
 to pick an unused port range.
-.It Fl q Ar nqueries
+.It Fl q Ar nprobes
 Set the number of probes per hop (default is 3,
 unless
 .Fl D



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