Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177628951
D61607.1794885847.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D61607.1794885847.diff
View Options
diff --git a/usr.sbin/traceroute6/traceroute6.8 b/usr.sbin/traceroute6/traceroute6.8
--- a/usr.sbin/traceroute6/traceroute6.8
+++ b/usr.sbin/traceroute6/traceroute6.8
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 16, 2026
+.Dd November 15, 2026
.Dt TRACEROUTE6 8
.Os
.\"
@@ -109,6 +109,9 @@
them, or if it is experiencing congestion
.Pq Dv 11 .
Otherwise, report that it passed the bits appropriately.
+The report is taken from the probe header quoted in the ICMPv6 error message
+sent by the hop, so there is none for a destination which answers an ICMPv6
+probe with an echo reply.
If
.Fl t
is also specified, the corresponding ECN bits will be replaced.
diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c
--- a/usr.sbin/traceroute6/traceroute6.c
+++ b/usr.sbin/traceroute6/traceroute6.c
@@ -975,7 +975,9 @@
lastaddr = Rcv.sin6_addr;
}
printf(" %.3f ms", deltaT(&t1, &t2));
- if (ecnflag) {
+ /* An echo reply quotes no header. */
+ if (ecnflag &&
+ type != ICMP6_ECHO_REPLY) {
switch (ecn) {
case IPTOS_ECN_ECT1:
printf(" (ecn=passed)");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 3:24 AM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41792154
Default Alt Text
D61607.1794885847.diff (1 KB)
Attached To
Mode
D61607: traceroute6: do not print an ECN report for an echo reply
Attached
Detach File
Event Timeline