diff options
author | Vincent Gross <vgross@cvs.openbsd.org> | 2016-08-04 20:46:25 +0000 |
---|---|---|
committer | Vincent Gross <vgross@cvs.openbsd.org> | 2016-08-04 20:46:25 +0000 |
commit | b41f7fedcea117b1348f83e2b189ae9a36a44fe7 (patch) | |
tree | d7b8ce6b12953384d3f8c95f2fdf4c4b2d74298d /sys/netinet6/raw_ip6.c | |
parent | c07a3f26f754dde88b8758e027bd7df45ec62247 (diff) |
Commit in6_selectsrc() split again, with missing assignment fixed.
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index ee18013fc4b..2cdcfa59082 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.93 2016/07/22 11:14:41 mpi Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.94 2016/08/04 20:46:24 vgross Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -396,9 +396,7 @@ rip6_output(struct mbuf *m, ...) { struct in6_addr *in6a; - error = in6_selectsrc(&in6a, dstsock, optp, - in6p->inp_moptions6, &in6p->inp_route6, &in6p->inp_laddr6, - in6p->inp_rtableid); + error = in6_pcbselsrc(&in6a, dstsock, in6p, optp); if (error) goto bad; @@ -700,9 +698,7 @@ rip6_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, } /* Source address selection. XXX: need pcblookup? */ - error = in6_selectsrc(&in6a, addr, in6p->inp_outputopts6, - in6p->inp_moptions6, &in6p->inp_route6, - &in6p->inp_laddr6, in6p->inp_rtableid); + error = in6_pcbselsrc(&in6a, addr, in6p, in6p->inp_outputopts6); if (error) break; in6p->inp_laddr6 = *in6a; |