summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6_pcb.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2006-06-29 10:49:49 +0000
committerbz <bz@FreeBSD.org>2006-06-29 10:49:49 +0000
commited6ddd5a31acfb82ab834df0e5f5834df651be4d (patch)
tree20b3aad49be03170cb27077f0ad21d8d27371b07 /sys/netinet6/in6_pcb.c
parent859313b1e92c383db9b8df053139dd8698133434 (diff)
downloadFreeBSD-src-ed6ddd5a31acfb82ab834df0e5f5834df651be4d.zip
FreeBSD-src-ed6ddd5a31acfb82ab834df0e5f5834df651be4d.tar.gz
Use INPLOOKUP_WILDCARD instead of just 1 more consistently.
OKed by: rwatson (some weeks ago)
Diffstat (limited to 'sys/netinet6/in6_pcb.c')
-rw-r--r--sys/netinet6/in6_pcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c
index 37809eb..a252788 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -138,7 +138,7 @@ in6_pcbbind(inp, nam, cred)
if (inp->inp_lport || !IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr))
return (EINVAL);
if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) == 0)
- wild = 1;
+ wild = INPLOOKUP_WILDCARD;
if (nam) {
int error;
OpenPOWER on IntegriCloud