-.\" $OpenBSD: traceroute.8,v 1.69 2020/02/11 18:41:39 deraadt Exp $
+.\" $OpenBSD: traceroute.8,v 1.70 2021/08/28 19:59:28 sthen Exp $
.\" $NetBSD: traceroute.8,v 1.6 1995/10/12 03:05:50 mycroft Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\"
.\" @(#)traceroute.8 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: February 11 2020 $
+.Dd $Mdocdate: August 28 2021 $
.Dt TRACEROUTE 8
.Os
.Sh NAME
are listed.
.It Fl w Ar waittime
Set the time, in seconds, to wait for a response to a probe.
-The default is 5.
+The default is 3.
.It Fl x
Print the ICMP extended headers if available.
This option is not available for IPv6.
-/* $OpenBSD: traceroute.c,v 1.164 2021/07/12 15:09:21 beck Exp $ */
+/* $OpenBSD: traceroute.c,v 1.165 2021/08/28 19:59:28 sthen Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*
rcvsock4 = rcvsock6 = sndsock4 = sndsock6 = -1;
v4sock_errno = v6sock_errno = 0;
- conf->waittime = 5 * 1000;
+ conf->waittime = 3 * 1000;
if ((rcvsock6 = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) == -1)
v6sock_errno = errno;
err(1, "setsockopt SO_RTABLE");
break;
case 'w':
- conf->waittime = strtonum(optarg, 2, INT_MAX, &errstr);
+ conf->waittime = strtonum(optarg, 1, INT_MAX, &errstr);
if (errstr)
- errx(1, "wait must be >1 sec.");
+ errx(1, "wait must be >=1 sec.");
conf->waittime *= 1000;
break;
case 'x':