cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Sun Feb 18 08:57:52 UTC 2007
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-----
>
More information about the cvs-src
mailing list