Page MenuHomeFreeBSD

traceroute tests: fix the test when SCTP is supported
ClosedPublic

Authored by ivy on May 13 2025, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 1:13 AM
Unknown Object (File)
Fri, Mar 27, 10:42 AM
Unknown Object (File)
Mon, Mar 23, 7:41 AM
Unknown Object (File)
Sat, Mar 14, 8:17 AM
Unknown Object (File)
Sat, Mar 14, 3:04 AM
Unknown Object (File)
Sat, Mar 7, 7:44 PM
Unknown Object (File)
Sat, Mar 7, 7:44 AM
Unknown Object (File)
Feb 25 2026, 1:57 AM
Subscribers

Details

Summary

The SCTP test assumes a default system configuration where SCTP is not
supported, so the probe packet returns an ICMP error which is displayed
as a !P response. If SCTP is supported, then something else is returned
instead (depending on exactly what probe we sent, but not an ICMP error)
and the test fails.

Since we already check the correct probes are sent using tcpdump, remove
the match for the second hop entirely.

Reported by: Jenkins

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable