aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_src.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-08-02 18:32:22 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-08-02 18:32:22 +0000
commitb4b08c816ad8863bd5808776c971605b32268d66 (patch)
tree5e50c6eea12eb53579ac29dfc29ddd5c9a3eb8c3 /sys/netinet6/in6_src.c
parentc9576930851c42d28d7d59ba428028ceba01b29b (diff)
Notes
Diffstat (limited to 'sys/netinet6/in6_src.c')
-rw-r--r--sys/netinet6/in6_src.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c
index 651ed9df2187..b2628498b3f4 100644
--- a/sys/netinet6/in6_src.c
+++ b/sys/netinet6/in6_src.c
@@ -812,7 +812,7 @@ in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred)
*lastport = first;
lport = htons(*lastport);
} while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr,
- lport, wild));
+ lport, wild, cred));
} else {
/*
* counting up
@@ -832,8 +832,8 @@ in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred)
if (*lastport < first || *lastport > last)
*lastport = first;
lport = htons(*lastport);
- } while (in6_pcblookup_local(pcbinfo,
- &inp->in6p_laddr, lport, wild));
+ } while (in6_pcblookup_local(pcbinfo, &inp->in6p_laddr,
+ lport, wild, cred));
}
inp->inp_lport = lport;