From 829c3f1d9e6988fa2c4497774dcb2330bc439d45 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 2 Dec 2015 13:29:27 +0000 Subject: 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@ --- sys/netinet6/in6_src.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet6/in6_src.c') diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index 86c5a9d5a68..3294bf74da9 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_src.c,v 1.70 2015/10/25 14:43:06 florian Exp $ */ +/* $OpenBSD: in6_src.c,v 1.71 2015/12/02 13:29:26 claudio Exp $ */ /* $KAME: in6_src.c,v 1.36 2001/02/06 04:08:17 itojun Exp $ */ /* @@ -242,7 +242,7 @@ in6_selectsrc(struct in6_addr **in6src, struct sockaddr_in6 *dstsock, sa6->sin6_scope_id = dstsock->sin6_scope_id; if (IN6_IS_ADDR_MULTICAST(dst)) { ro->ro_rt = rtalloc(sin6tosa(&ro->ro_dst), - RT_REPORT|RT_RESOLVE, ro->ro_tableid); + RT_RESOLVE, ro->ro_tableid); } else { ro->ro_rt = rtalloc_mpath(sin6tosa(&ro->ro_dst), NULL, ro->ro_tableid); -- cgit v1.2.3