Subject: bin/30209: traceroute(8)'s man page has out-of-date default for -m
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <jld@panix.com>
List: netbsd-bugs
Date: 05/12/2005 00:27:00
>Number: 30209
>Category: bin
>Synopsis: traceroute.8 was not updated along with traceroute.c, ~3 years ago.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu May 12 00:27:00 +0000 2005
>Originator: Jed Davis
>Release: NetBSD 2.0.2
>Organization:
PANIX -- Public Access Networks Corp.
>Environment:
System: NetBSD byzantium.nyc.access.net 2.0.2 NetBSD 2.0.2 (PANIX-STAFF) #0: Thu May 5 21:13:35 EDT 2005 root@juggler.panix.com:/devel/netbsd/2.0.2/src/sys/arch/i386/compile/PANIX-STAFF i386
Architecture: i386
Machine: i386
>Description:
The traceroute(8) man page claims that the default number of hops is 30,
but the program itself (as of r1.46 of traceroute.c, dated 2002/05/26),
takes the value of the sysctl net.inet.ip.ttl, which defaults to 64
these days.
>How-To-Repeat:
N/A
>Fix:
The simple approach is to follow the ping(8) man page and say nothing at
all about the default setting:
--- traceroute.8 2003-04-06 16:14:41.000000000 -0400
+++ traceroute.8.new 2005-05-11 20:20:23.000000000 -0400
@@ -127,8 +127,7 @@
.TP
.B \-m
Set the max time-to-live (max number of hops) used in outgoing probe
-packets. The default is 30 hops (the same default used for TCP
-connections).
+packets.
.TP
.B \-n
Print hop addresses numerically rather than symbolically and numerically