mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Try and make the kernel build again without INET6.
This commit is contained in:
parent
bdbca6ddeb
commit
75daea9395
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58911
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user