]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix double fork.
authorRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 13:24:22 +0000 (13:24 +0000)
committerRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 13:24:22 +0000 (13:24 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 8cbf610a6551102bc6742e12a031e8df53b251c7..22b740771887740a34f4b7e760480079d23051d0 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -1217,7 +1217,7 @@ dhcp6_dadcallback(void *arg)
                                syslog(LOG_DEBUG, "%s: DHCPv6 DAD completed",
                                    ifp->name);
                                script_runreason(ifp, state->reason);
-                               if (state->state != DH6S_DELEGATED)
+                               if (ap->delegating_iface == NULL)
                                        dhcpcd_daemonise(ifp->ctx);
                        }
                }