[PATCH] Fix compilation if we don't have INET6_ADDR_GEN_MODE_* constants
- From: Guido Günther <agx sigxcpu org>
- To: networkmanager-list gnome org
- Subject: [PATCH] Fix compilation if we don't have INET6_ADDR_GEN_MODE_* constants
- Date: Thu, 15 Oct 2015 16:01:00 +0200
as in src/platform/nm-linux-platform.c
---
src/platform/nm-platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index e613157..7da3e97 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -950,7 +950,7 @@ nm_platform_link_get_user_ipv6ll_enabled (NMPlatform *self, int ifindex)
g_return_val_if_fail (ifindex >= 0, FALSE);
-#if HAVE_LIBNL_INET6_ADDR_GEN_MODE
+#if HAVE_LIBNL_INET6_ADDR_GEN_MODE && HAVE_KERNEL_INET6_ADDR_GEN_MODE
{
const NMPlatformLink *pllink;
--
2.1.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]