From 27edc3a655941f3657ca33fe93f73c3e621e992c Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sun, 31 May 2015 12:18:30 +0000 Subject: [PATCH] The code starts with base + 1 as the first port. Fix to documentation to match that. MFC after: 3 days --- contrib/traceroute/traceroute.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/traceroute/traceroute.8 b/contrib/traceroute/traceroute.8 index 952da410967..ebfcc364779 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