diff options
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/icmp6.c | 4 | ||||
-rw-r--r-- | sys/netinet6/in6_src.c | 4 | ||||
-rw-r--r-- | sys/netinet6/ip6_output.c | 6 | ||||
-rw-r--r-- | sys/netinet6/nd6.c | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index ec25dbc1b4f..ff4ce7bf95f 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icmp6.c,v 1.179 2015/12/01 21:26:43 mpi Exp $ */ +/* $OpenBSD: icmp6.c,v 1.180 2015/12/02 13:29:26 claudio Exp $ */ /* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */ /* @@ -1912,7 +1912,7 @@ icmp6_mtudisc_clone(struct sockaddr *dst, u_int rdomain) struct rtentry *rt; int error; - rt = rtalloc(dst, RT_REPORT|RT_RESOLVE, rdomain); + rt = rtalloc(dst, RT_RESOLVE, rdomain); if (rt == NULL) return NULL; 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); diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 5c1ff3b9ec6..94d60b2fe3d 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.200 2015/11/29 15:12:36 mpi Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.201 2015/12/02 13:29:26 claudio Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -1136,7 +1136,7 @@ ip6_getpmtu(struct route_in6 *ro_pmtu, struct route_in6 *ro, struct ifnet *ifp0, sa6_dst->sin6_addr = *dst; ro_pmtu->ro_rt = rtalloc(sin6tosa(&ro_pmtu->ro_dst), - RT_REPORT|RT_RESOLVE, ro_pmtu->ro_tableid); + RT_RESOLVE, ro_pmtu->ro_tableid); } } if (ro_pmtu->ro_rt) { @@ -2195,7 +2195,7 @@ ip6_setmoptions(int optname, struct ip6_moptions **im6op, struct mbuf *m) dst->sin6_family = AF_INET6; dst->sin6_addr = mreq->ipv6mr_multiaddr; ro.ro_rt = rtalloc(sin6tosa(&ro.ro_dst), - RT_REPORT|RT_RESOLVE, ro.ro_tableid); + RT_RESOLVE, ro.ro_tableid); if (ro.ro_rt == NULL) { error = EADDRNOTAVAIL; break; 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) { |