diff options
author | ume <ume@FreeBSD.org> | 2002-07-25 17:40:45 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-07-25 17:40:45 +0000 |
commit | e96d7f22052f9700c14e497313ce169decfeba90 (patch) | |
tree | 7145dd896cf6ecc88290710ad88db0a06897a3bc /sys/netinet/in_pcb.c | |
parent | bdf708d20aad82d19c4148d07378c73d30842f12 (diff) | |
download | FreeBSD-src-e96d7f22052f9700c14e497313ce169decfeba90.zip FreeBSD-src-e96d7f22052f9700c14e497313ce169decfeba90.tar.gz |
cleanup usage of ip6_mapped_addr_on and ip6_v6only. now,
ip6_mapped_addr_on is unified into ip6_v6only.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 744cfc2..8284031 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -159,7 +159,7 @@ in_pcballoc(so, pcbinfo, td) } #endif /*IPSEC*/ #if defined(INET6) - if (INP_SOCKAF(so) == AF_INET6 && !ip6_mapped_addr_on) + if (INP_SOCKAF(so) == AF_INET6 && ip6_v6only) inp->inp_flags |= IN6P_IPV6_V6ONLY; #endif LIST_INSERT_HEAD(pcbinfo->listhead, inp, inp_list); |