summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute/worker.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-08-03 17:36:06 +0000
committerflorian <florian@openbsd.org>2017-08-03 17:36:06 +0000
commit4bf9eb95b5742a80d214e44bae1cd590f4112945 (patch)
treea1a893371ab3188d7c9f665033654e35c7420c37 /usr.sbin/traceroute/worker.c
parentRFC 1885 was obsoleted nearly 20 years ago by RFC 2463 which was obsoleted (diff)
downloadwireguard-openbsd-4bf9eb95b5742a80d214e44bae1cd590f4112945.tar.xz
wireguard-openbsd-4bf9eb95b5742a80d214e44bae1cd590f4112945.zip
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/worker.c')
-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;