} else
ifo = ifp->options;
+#ifdef INET6
if (ifo->options & DHCPCD_IPV6 && ipv6_init(ifp->ctx) == -1) {
logerr(__func__);
ifo->options &= ~DHCPCD_IPV6;
}
+#endif
}
static void
assert(src != NULL);
memcpy(dst, src, src->sa_len);
-#ifdef __KAME__
+#if defined(INET6) && defined(__KAME__)
if (dst->sa_family == AF_INET6) {
struct in6_addr *in6;
bool inet6_getroutes(struct dhcpcd_ctx *, struct rt_head *);
#else
-#define ipv6_init(a) (NULL)
#define ipv6_start(a) (-1)
#define ipv6_startstatic(a)
#define ipv6_staticdadcompleted(a) (0)