summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-08-03 17:36:07 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-08-03 17:36:07 +0000
commit3aaef91e48cf29724207ecd9085e31c1a1bd8b9c (patch)
tree37a5004d15d6f0168d6fdfdc1641a80481468d04 /usr.sbin/traceroute
parent2f4ad892efb16edbaf31b4fb65cc9c1adc1034c6 (diff)
Since nearly 20 years the correct spelling of
ICMP6_DST_UNREACH_NOTNEIGHBOR is ICMP6_DST_UNREACH_BEYONDSCOPE (RFC 1885 was obsoleted). sthen grepped the ports sources to make sure nothing uses it. OK millert, jca
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/traceroute/worker.c b/usr.sbin/traceroute/worker.c
index d212d38b935..92979359c21 100644
--- a/usr.sbin/traceroute/worker.c
+++ b/usr.sbin/traceroute/worker.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: worker.c,v 1.4 2017/05/28 10:04:27 benno Exp $ */
+/* $OpenBSD: worker.c,v 1.5 2017/08/03 17:36:06 florian Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*
@@ -779,7 +779,7 @@ icmp6_code(int code, int *got_there, int *unreachable)
++(*unreachable);
printf(" !P");
break;
- case ICMP6_DST_UNREACH_NOTNEIGHBOR:
+ case ICMP6_DST_UNREACH_BEYONDSCOPE:
++(*unreachable);
printf(" !S");
break;