Date: Sat, 1 Apr 2000 19:15:35 -0800 From: Chris Piazza <cpiazza@jaxon.net> To: current@FreeBSD.org Cc: shin@FreeBSD.org Subject: kernel build broken without INET6 Message-ID: <20000401191535.A4013@norn.ca.eu.org>
next in thread | raw e-mail | index | archive | help
Patch included...
Index: in_pcb.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/in_pcb.c,v
retrieving revision 1.61
diff -u -r1.61 in_pcb.c
--- in_pcb.c 2000/04/01 22:35:43 1.61
+++ in_pcb.c 2000/04/02 03:14:15
@@ -153,10 +153,12 @@
inp->inp_gencnt = ++pcbinfo->ipi_gencnt;
inp->inp_pcbinfo = pcbinfo;
inp->inp_socket = so;
+#ifdef 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;
-Chris
--
cpiazza@jaxon.net cpiazza@FreeBSD.org
Abbotsford, BC, Canada
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000401191535.A4013>
