Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144303487
D47520.id146309.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47520.id146309.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
@@ -191,6 +191,12 @@
Destination Unreachable - Address Unreachable.
.It !H
Parameter Problem - Unrecognized Next Header Type.
+.It !R
+Destination Unreachable - Route to Destination Network Rejected.
+.It !<xx>
+Destination Unreachable - General unreachability.
+.Em xx
+is the hexadecimal ICMP6 error code.
.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,14 @@
printf(" !");
++got_there;
break;
+ case ICMP6_DST_UNREACH_REJECT:
+ ++unreachable;
+ printf(" !R");
+ break;
+ default:
+ ++unreachable;
+ printf(" !<%d>", code & 0xff);
+ break;
}
} else if (type == ICMP6_PARAM_PROB &&
code == ICMP6_PARAMPROB_NEXTHEADER) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 6:09 PM (5 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28481634
Default Alt Text
D47520.id146309.diff (1 KB)
Attached To
Mode
D47520: traceroute6: Don't keep trying on unreachables
Attached
Detach File
Event Timeline
Log In to Comment