diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-12-02 13:29:27 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-12-02 13:29:27 +0000 |
commit | 829c3f1d9e6988fa2c4497774dcb2330bc439d45 (patch) | |
tree | 979514c43c1b84f23454d53733e3462eed85e9eb /sys/netinet6/in6_src.c | |
parent | 62e621509c602e1241ab5aa91d796d395e2527d7 (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/in6_src.c')
-rw-r--r-- | sys/netinet6/in6_src.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |