diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-27 21:05:46 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-03-27 21:05:46 +0000 |
| commit | b0330ed9296ec389378f1bf2c5bdc20db2870c96 (patch) | |
| tree | c845ffa71d0beb0ebbebdf12f6a9ebe3e3c71f52 /sys/netinet6/udp6_output.c | |
| parent | 6823b8239967acfcb4215fb01f980c7505ffbff2 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/udp6_output.c')
| -rw-r--r-- | sys/netinet6/udp6_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c index 5de9188cf8c8..29789e238323 100644 --- a/sys/netinet6/udp6_output.c +++ b/sys/netinet6/udp6_output.c @@ -70,6 +70,7 @@ #include "opt_inet6.h" #include <sys/param.h> +#include <sys/proc.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/protosw.h> @@ -213,7 +214,7 @@ udp6_output(in6p, m, addr6, control, td) goto release; } if (in6p->in6p_lport == 0 && - (error = in6_pcbsetport(laddr, in6p, td)) != 0) + (error = in6_pcbsetport(laddr, in6p, td->td_ucred)) != 0) goto release; } else { if (IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) { |
