diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-13 10:26:44 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-13 10:26:44 +0000 |
commit | 879d65894949dc7e3d918402dc48a5d18d7d47f7 (patch) | |
tree | 78d7556c5e3c0c7b3b7574d9f17ab74c7f2f8e39 /sys/netinet | |
parent | 2a1a93444daf975435e69cd08e072311261d6354 (diff) |
on UDPv6 sendto, correctly set oifp.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index bd091091eab..fe232f14a9d 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.41 2000/06/13 10:12:00 itojun Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.42 2000/06/13 10:26:43 itojun Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -876,7 +876,7 @@ udp_output(m, va_alist) tmp.sin6_addr = inp->inp_faddr6; } /* KAME hack: embed scopeid */ - if (in6_embedscope(&ipv6->ip6_dst, &tmp, inp, NULL) != 0) + if (in6_embedscope(&ipv6->ip6_dst, &tmp, inp, &oifp) != 0) return EINVAL; ipv6->ip6_hlim = in6_selecthlim(inp, oifp); |