c28716f
From 7a1367977528e143c5eb9136539d0697a8a1a778 Mon Sep 17 00:00:00 2001
c28716f
From: Daniel Mack <daniel@zonque.org>
c28716f
Date: Fri, 5 Jun 2015 14:59:36 +0200
c28716f
Subject: [PATCH] kmod-setup: don't warn when ipv6 can't be loaded
c28716f
c28716f
Not having IPv6 is a valid setup. Let's not print a warning in that
c28716f
case.
c28716f
c28716f
Addresses:
c28716f
c28716f
  https://bugs.freedesktop.org/show_bug.cgi?id=87475
c28716f
c28716f
(cherry picked from commit b4aa82f168913b7bff42017023b43933b3aa0d24)
c28716f
---
c28716f
 src/core/kmod-setup.c | 2 +-
c28716f
 1 file changed, 1 insertion(+), 1 deletion(-)
c28716f
c28716f
diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
c28716f
index 97f3b9b34a..6b2f29585d 100644
c28716f
--- a/src/core/kmod-setup.c
c28716f
+++ b/src/core/kmod-setup.c
c28716f
@@ -66,7 +66,7 @@ int kmod_setup(void) {
c28716f
                 { "autofs4",   "/sys/class/misc/autofs",    true,  NULL                },
c28716f
 
c28716f
                 /* early configure of ::1 on the loopback device */
c28716f
-                { "ipv6",      "/sys/module/ipv6",          true,  NULL                },
c28716f
+                { "ipv6",      "/sys/module/ipv6",          false,  NULL               },
c28716f
 
c28716f
                 /* this should never be a module */
c28716f
                 { "unix",      "/proc/net/unix",            true,  NULL                },