summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/traceroute/traceroute.c')
-rw-r--r--usr.sbin/traceroute/traceroute.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c
index 11062e5a8be..1d1d0be4268 100644
--- a/usr.sbin/traceroute/traceroute.c
+++ b/usr.sbin/traceroute/traceroute.c
@@ -528,6 +528,14 @@ main(argc, argv)
++unreachable;
Printf(" !S");
break;
+ case ICMP_UNREACH_NET_PROHIB:
+ ++unreachable;
+ Printf(" !A");
+ break;
+ case ICMP_UNREACH_HOST_PROHIB:
+ ++unreachable;
+ Printf(" !C");
+ break;
}
break;
}