From: Roy Marples Date: Tue, 6 Jan 2015 14:05:26 +0000 (+0000) Subject: IPv6 kernel autoconf disabled is not an error condition to stop IPv6 from working... X-Git-Tag: v6.7.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e651353d1dfa4314fe2bbc8a76ace414c3ebf82;p=thirdparty%2Fdhcpcd.git IPv6 kernel autoconf disabled is not an error condition to stop IPv6 from working if not owning the RA process and DHCPv6 is present in an RA message, but we should still warn about it never the less. --- diff --git a/if-linux.c b/if-linux.c index 49f83773..590f241a 100644 --- a/if-linux.c +++ b/if-linux.c @@ -1566,11 +1566,9 @@ if_checkipv6(struct dhcpcd_ctx *ctx, const struct interface *ifp, int own) snprintf(path, sizeof(path), "%s/%s/autoconf", prefix, ifname); ra = check_proc_int(path); if (ra != 1) { - if (!own) { + if (!own) syslog(LOG_WARNING, "%s: IPv6 kernel autoconf disabled", ifname); - return -1; - } } else if (ra != -1 && own) { if (write_path(path, "0") == -1) { syslog(LOG_ERR, "write_path: %s: %m", path);