summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vxlan.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-12-02 11:16:04 +0000
committermpi <mpi@openbsd.org>2016-12-02 11:16:04 +0000
commit90fa29fac0505950d914a1db12f79a6e10ea0f54 (patch)
tree436d6c78bd2116342966e32891bd19a8108cab7b /sys/net/if_vxlan.c
parentenable hvn(4) (diff)
downloadwireguard-openbsd-90fa29fac0505950d914a1db12f79a6e10ea0f54.tar.xz
wireguard-openbsd-90fa29fac0505950d914a1db12f79a6e10ea0f54.zip
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/if_vxlan.c')
-rw-r--r--sys/net/if_vxlan.c4
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);