diff options
author | grehan <grehan@FreeBSD.org> | 2011-05-24 15:39:34 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2011-05-24 15:39:34 +0000 |
commit | 31bc5dbbffce22454d760ecdba41585aaed6281b (patch) | |
tree | a24e88e247a8eedca803d65257068e14f16c0eb6 /sys/netinet6/in6_src.c | |
parent | 949e126edfdb544c4b351ec5726c8dc3ff848dda (diff) | |
parent | b3769a4355d61333f6b11fd0ccac65cddb54a3a8 (diff) | |
download | FreeBSD-src-31bc5dbbffce22454d760ecdba41585aaed6281b.zip FreeBSD-src-31bc5dbbffce22454d760ecdba41585aaed6281b.tar.gz |
IFC @ r222256
Diffstat (limited to 'sys/netinet6/in6_src.c')
-rw-r--r-- | sys/netinet6/in6_src.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index b491e0e..5202e09 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -851,7 +851,7 @@ in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred) { struct socket *so = inp->inp_socket; u_int16_t lport = 0; - int error, wild = 0; + int error, lookupflags = 0; #ifdef INVARIANTS struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; #endif @@ -866,11 +866,11 @@ in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred) /* XXX: this is redundant when called from in6_pcbbind */ if ((so->so_options & (SO_REUSEADDR|SO_REUSEPORT)) == 0) - wild = INPLOOKUP_WILDCARD; + lookupflags = INPLOOKUP_WILDCARD; inp->inp_flags |= INP_ANONPORT; - error = in_pcb_lport(inp, NULL, &lport, cred, wild); + error = in_pcb_lport(inp, NULL, &lport, cred, lookupflags); if (error != 0) return (error); |