Page MenuHomeFreeBSD

D47520.id146316.diff
No OneTemporary

D47520.id146316.diff

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 February 2, 2024
+.Dd November 12, 2024
.Dt TRACEROUTE6 8
.Os
.\"
@@ -75,7 +75,7 @@
.Sh DESCRIPTION
The
.Nm
-utility uses the IPv6 protocol hop limit field to elicit an ICMPv6
+utility uses the IPv6 protocol hop limit field to elicit an ICMP6
TIME_EXCEEDED response from each gateway along the path to some host.
.Pp
The only mandatory parameter is the destination host name or IPv6 address.
@@ -191,6 +191,8 @@
Destination Unreachable - Address Unreachable.
.It !H
Parameter Problem - Unrecognized Next Header Type.
+.It !<num>
+ICMP6 unreachable code <num>.
.It !\&
This is printed if the hop limit is <= 1 on a port unreachable message.
This means that the packet got to the destination, but that the reply had a hop
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
@@ -1009,6 +1009,10 @@
printf(" !");
++got_there;
break;
+ default:
+ ++unreachable;
+ printf(" !<%d>", code & 0xff);
+ break;
}
} else if (type == ICMP6_PARAM_PROB &&
code == ICMP6_PARAMPROB_NEXTHEADER) {

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 3:04 AM (14 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28528851
Default Alt Text
D47520.id146316.diff (1 KB)

Event Timeline