diff options
Diffstat (limited to 'sys/netinet6/in6_src.c')
| -rw-r--r-- | sys/netinet6/in6_src.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index 3294bf74da9..bc3257f7a37 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_src.c,v 1.71 2015/12/02 13:29:26 claudio Exp $ */ +/* $OpenBSD: in6_src.c,v 1.72 2015/12/05 13:21:00 vgross Exp $ */ /* $KAME: in6_src.c,v 1.36 2001/02/06 04:08:17 itojun Exp $ */ /* @@ -240,13 +240,8 @@ in6_selectsrc(struct in6_addr **in6src, struct sockaddr_in6 *dstsock, sa6->sin6_len = sizeof(struct sockaddr_in6); sa6->sin6_addr = *dst; sa6->sin6_scope_id = dstsock->sin6_scope_id; - if (IN6_IS_ADDR_MULTICAST(dst)) { - ro->ro_rt = rtalloc(sin6tosa(&ro->ro_dst), - RT_RESOLVE, ro->ro_tableid); - } else { - ro->ro_rt = rtalloc_mpath(sin6tosa(&ro->ro_dst), - NULL, ro->ro_tableid); - } + ro->ro_rt = rtalloc(sin6tosa(&ro->ro_dst), + RT_RESOLVE, ro->ro_tableid); } /* |
