Default RTADV enabled for non-glibc linux (fixes check for musl libc).
Signed-off-by: Timo Teräs <[email protected]>
---
zebra/interface.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zebra/interface.h b/zebra/interface.h
index 2f3b7b9..0f081f6 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -38,7 +38,7 @@
#define IF_ZEBRA_SHUTDOWN_ON 1
/* Router advertisement feature. */
-#if (defined(LINUX_IPV6) && (defined(__GLIBC__) && __GLIBC__ >= 2 &&
__GLIBC_MINOR__ >= 1)) || defined(KAME)
+#if (defined(LINUX_IPV6) && (!defined(__GLIBC__) || defined(__GLIBC__) &&
__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1)) || defined(KAME)
#ifdef HAVE_RTADV
#define RTADV
#endif
--
2.3.6
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev