From: Roy Marples Date: Thu, 2 Oct 2014 13:24:22 +0000 (+0000) Subject: Fix double fork. X-Git-Tag: v6.5.0~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fead40d557e82e9374ff6ffa86d3a68e683d1660;p=thirdparty%2Fdhcpcd.git Fix double fork. --- diff --git a/dhcp6.c b/dhcp6.c index 8cbf610a..22b74077 100644 --- 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); } }