diff options
author | ps <ps@FreeBSD.org> | 2000-04-02 03:49:25 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-04-02 03:49:25 +0000 |
commit | 7de430ad34b1ffa11fb70896a95aef91efe0377e (patch) | |
tree | b6f9c796b54ecc50a0884fed9b8d868a0f4cecd0 /sys | |
parent | 3f5730bec00063e9fd0afd2faa4847a66c960c18 (diff) | |
download | FreeBSD-src-7de430ad34b1ffa11fb70896a95aef91efe0377e.zip FreeBSD-src-7de430ad34b1ffa11fb70896a95aef91efe0377e.tar.gz |
Try and make the kernel build again without INET6.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in_pcb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index d042c0b..80bbe05 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -153,10 +153,12 @@ in_pcballoc(so, pcbinfo, p) inp->inp_gencnt = ++pcbinfo->ipi_gencnt; inp->inp_pcbinfo = pcbinfo; inp->inp_socket = so; +#if defined(INET6) if (ip6_mapped_addr_on) inp->inp_flags &= ~IN6P_BINDV6ONLY; else inp->inp_flags |= IN6P_BINDV6ONLY; +#endif LIST_INSERT_HEAD(pcbinfo->listhead, inp, inp_list); pcbinfo->ipi_count++; so->so_pcb = (caddr_t)inp; |