From owner-cvs-src@FreeBSD.ORG Sun Feb 18 08:57:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDF8816A401; Sun, 18 Feb 2007 08:57:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id A5AB313C46B; Sun, 18 Feb 2007 08:57:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 200CE4893D; Sun, 18 Feb 2007 03:57:52 -0500 (EST) Date: Sun, 18 Feb 2007 08:57:52 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Florian C. Smeets" In-Reply-To: <45D78ABA.2000701@kasimir.com> Message-ID: <20070218085730.E63360@fledge.watson.org> References: <200702172102.l1HL2dGg051461@repoman.freebsd.org> <45D78ABA.2000701@kasimir.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 08:57:52 -0000 On Sun, 18 Feb 2007, Florian C. Smeets wrote: > This breaks the kernel build for kernels without INET6. > > I think something like this is needed: Indeed -- committed (with minor adjustments), thanks! Robert N M Watson Computer Laboratory University of Cambridge > > - --- in_pcb.c.org Sat Feb 17 23:57:26 2007 > +++ in_pcb.c Sat Feb 17 23:57:34 2007 > @@ -1263,8 +1263,10 @@ > > if (inc->inc_flags == 1) { > +#ifdef INET6 > /* IPv6. */ > ip6_sprintf(laddr_str, &inc->inc6_laddr); > ip6_sprintf(faddr_str, &inc->inc6_faddr); > +#endif > } else { > /* IPv4. */ > inet_ntoa_r(inc->inc_laddr, laddr_str); > > With this change i was able to build a kernel again. > > Cheers > Florian > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (Darwin) > > iD8DBQFF14q6A+1tjUZ1YScRAsaWAKCBMuTasbAhlb8l0axHdHMoq/itrACfZPqv > XEYHWbrm9kbYKMPK9xVVi+A= > =Q281 > -----END PGP SIGNATURE----- >