diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-12-02 11:16:05 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-12-02 11:16:05 +0000 |
commit | d8ef1571a8948c66abdf5758c375ec2bd2a0f14c (patch) | |
tree | 78ad1280a8c8a7a9485005d442185df9efc4dcce /sys/net | |
parent | f2636f5fd348b04f590cd13d1c9cdd02217ccff1 (diff) |
Rremoves 'struct route_in6 *' argument from in6_selectsrc().
Move the corresponding code in in6_pcbselsrc(). This reduces
differences with IPv4 and will help us to get rid of 'struct route*'.
ok vgross@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_vxlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c index 366c78b0378..17db4624206 100644 --- a/sys/net/if_vxlan.c +++ b/sys/net/if_vxlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vxlan.c,v 1.52 2016/11/29 10:09:57 reyk Exp $ */ +/* $OpenBSD: if_vxlan.c,v 1.53 2016/12/02 11:16:04 mpi Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -768,7 +768,7 @@ vxlan_encap6(struct ifnet *ifp, struct mbuf *m, ip6->ip6_hlim = ip6_defhlim; if (IN6_IS_ADDR_UNSPECIFIED(&satosin6(src)->sin6_addr)) { - error = in6_selectsrc(&in6a, satosin6(dst), NULL, NULL, + error = in6_selectsrc(&in6a, satosin6(dst), NULL, sc->sc_rdomain); if (error != 0) { m_freem(m); |