]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
privsep: Open the IPV6 ND socket when running IPv6
authorRoy Marples <roy@marples.name>
Wed, 22 Apr 2020 15:57:40 +0000 (16:57 +0100)
committerRoy Marples <roy@marples.name>
Wed, 22 Apr 2020 15:57:40 +0000 (16:57 +0100)
IPv6 RS could be turned off globally

src/privsep.c

index 2b68af2f75ab327baec99c5d40438a7b29a90033..09e63216aac01ce1f5c637e5c1c8298ff601157a 100644 (file)
@@ -327,7 +327,7 @@ ps_start(struct dhcpcd_ctx *ctx)
 
        /* No point in spawning the generic network listener if we're
         * not going to use it. */
-       if (!(ctx->options & (DHCPCD_MASTER | DHCPCD_IPV6RS)))
+       if (!(ctx->options & (DHCPCD_MASTER | DHCPCD_IPV6)))
                goto started;
 
        switch (pid = ps_inet_start(ctx)) {