summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2015-12-02 13:29:27 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2015-12-02 13:29:27 +0000
commit829c3f1d9e6988fa2c4497774dcb2330bc439d45 (patch)
tree979514c43c1b84f23454d53733e3462eed85e9eb /sys/netinet6/nd6.c
parent62e621509c602e1241ab5aa91d796d395e2527d7 (diff)
Kill the RT_REPORT flag to rtalloc() and stop sending RTM_MISS messages
for failed route lookups. This is something that was maybe useful in the 90is but in this modern times it is just annoying and nothing expect it anyway. OK mpi@, sthen@
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r--sys/netinet6/nd6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 2f92472c473..f4a216b401f 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.173 2015/12/01 12:22:18 mpi Exp $ */
+/* $OpenBSD: nd6.c,v 1.174 2015/12/02 13:29:26 claudio Exp $ */
/* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */
/*
@@ -586,7 +586,7 @@ nd6_lookup(struct in6_addr *addr6, int create, struct ifnet *ifp,
sin6.sin6_len = sizeof(struct sockaddr_in6);
sin6.sin6_family = AF_INET6;
sin6.sin6_addr = *addr6;
- flags = (create) ? (RT_REPORT|RT_RESOLVE) : 0;
+ flags = (create) ? RT_RESOLVE : 0;
rt = rtalloc(sin6tosa(&sin6), flags, rtableid);
if (rt != NULL && (rt->rt_flags & RTF_LLINFO) == 0) {