]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unbreak ip_carp with WITHOUT_INET6 enabled by conditionalizing all IPv6
authorngie <ngie@FreeBSD.org>
Fri, 30 Dec 2016 21:33:01 +0000 (21:33 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 30 Dec 2016 21:33:01 +0000 (21:33 +0000)
commit99d3bb7bf78c6f772cd8637307ee35a38cdec531
tree2f2eb7e48322f7e41f1f22bee873a91507932c3c
parentb6688beaf7dbeb2e2a0ee883792396a9f05b5dcb
Unbreak ip_carp with WITHOUT_INET6 enabled by conditionalizing all IPv6
structs under the INET6 #ifdef. Similarly (even though it doesn't seem
to affect the build), conditionalize all IPv4 structs under the INET
#ifdef

This also unbreaks the LINT-NOINET6 tinderbox target on amd64; I have not
verified other MACHINE/TARGET pairs (e.g. armv6/arm).

MFC after: 2 weeks
X-MFC with: r310847
Pointyhat to: jpaetzel
Reported by: O. Hartmann <o.hartmann@walstatt.org>
sys/netinet/ip_carp.c