]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
IPv6 kernel autoconf disabled is not an error condition to stop IPv6 from working...
authorRoy Marples <roy@marples.name>
Tue, 6 Jan 2015 14:05:26 +0000 (14:05 +0000)
committerRoy Marples <roy@marples.name>
Tue, 6 Jan 2015 14:05:26 +0000 (14:05 +0000)
if-linux.c

index 49f837738e8e99dfd55c18c3fe2cdd0e7ec67788..590f241a6fd4d806c197e829e0a9383009604eaa 100644 (file)
@@ -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);