We want to build in the IPv6 code even when IPv6 is built as a module
(as it is in UEK). Adjust the config conditionals accordingly.
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Orabug:
25557554
*end-- = '.';
}
ASSERT(end + 1 >= base);
-#ifdef CONFIG_IPV6
+#if IS_ENABLED(CONFIG_IPV6)
} else if (af == AF_INET6) {
in6_addr_t ip6;
int firstzero, tryzero, numzero, v6end;
break;
}
-#ifdef CONFIG_IPV6
+#if IS_ENABLED(CONFIG_IPV6)
inetout:
#endif
regs[rd] = (uintptr_t)end + 1;