summaryrefslogtreecommitdiff
path: root/sys/netinet6/udp6_output.c
diff options
context:
space:
mode:
authorVincent Gross <vgross@cvs.openbsd.org>2016-07-20 18:51:51 +0000
committerVincent Gross <vgross@cvs.openbsd.org>2016-07-20 18:51:51 +0000
commitdce636ba3adcd5be51f1539994bf7a05f6340da4 (patch)
tree2a97c56f9d1fe99c63ca6eec981cd604375bbf9a /sys/netinet6/udp6_output.c
parent5f8bfaf1e86371f0d3ca44790ab63d06dac04b28 (diff)
Split in6_selectsrc() into a low-level part and a pcb-level part, and
convert in_selectsrc() prototype to match. Ok bluhm@ mpi@.
Diffstat (limited to 'sys/netinet6/udp6_output.c')
-rw-r--r--sys/netinet6/udp6_output.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c
index c7cb27656fa..61f3b3a4833 100644
--- a/sys/netinet6/udp6_output.c
+++ b/sys/netinet6/udp6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp6_output.c,v 1.48 2016/05/19 08:02:22 vgross Exp $ */
+/* $OpenBSD: udp6_output.c,v 1.49 2016/07/20 18:51:50 vgross Exp $ */
/* $KAME: udp6_output.c,v 1.21 2001/02/07 11:51:54 itojun Exp $ */
/*
@@ -154,9 +154,7 @@ udp6_output(struct inpcb *in6p, struct mbuf *m, struct mbuf *addr6,
goto release;
}
- error = in6_selectsrc(&laddr, sin6, optp,
- in6p->inp_moptions6, &in6p->inp_route6,
- &in6p->inp_laddr6, in6p->inp_rtableid);
+ error = in6_pcbselsrc(&laddr, sin6, in6p, optp);
if (error)
goto release;