]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix BSD restoring kernel RA.
authorRoy Marples <roy@marples.name>
Thu, 12 Jul 2012 09:36:51 +0000 (09:36 +0000)
committerRoy Marples <roy@marples.name>
Thu, 12 Jul 2012 09:36:51 +0000 (09:36 +0000)
platform-bsd.c

index 2304680e7d8a5b7487c81229dcd44c07011b5d9a..9eaaf52468cf46dddddeeeb22a5a9bcc2575f199 100644 (file)
@@ -80,7 +80,7 @@ static void
 restore_kernel_ra(void)
 {
 
-       if (!(options & DHCPCD_FORKED))
+       if (options & DHCPCD_FORKED)
                return;
        syslog(LOG_INFO, "restoring Kernel IPv6 RA support");
        if (set_inet6_sysctl(IPV6CTL_ACCEPT_RTADV, 1) == -1)