summaryrefslogtreecommitdiffstats
path: root/contrib/traceroute
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-05-31 12:18:30 +0000
committertuexen <tuexen@FreeBSD.org>2015-05-31 12:18:30 +0000
commit5577b97ec5a97ffb3d5f88e46e276fae23c2ffa7 (patch)
tree8593bd56b1f8b379dc517ff3ae2377bd93cd9ff1 /contrib/traceroute
parente5205dfbe6a4a89c33c41d5aed1544d47e27af75 (diff)
downloadFreeBSD-src-5577b97ec5a97ffb3d5f88e46e276fae23c2ffa7.zip
FreeBSD-src-5577b97ec5a97ffb3d5f88e46e276fae23c2ffa7.tar.gz
The code starts with base + 1 as the first port. Fix to documentation
to match that. MFC after: 3 days
Diffstat (limited to 'contrib/traceroute')
-rw-r--r--contrib/traceroute/traceroute.84
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/traceroute/traceroute.8 b/contrib/traceroute/traceroute.8
index 952da41..ebfcc36 100644
--- a/contrib/traceroute/traceroute.8
+++ b/contrib/traceroute/traceroute.8
@@ -125,9 +125,9 @@ Traceroute hopes that nothing is listening on UDP ports (or UDP-Lite ports
if used by
.Nm
and supported by the peer)
-.Em base
+.Em base + 1
to
-.Em base + nhops * nprobes - 1
+.Em base + nhops * 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
OpenPOWER on IntegriCloud