]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't daemonise on delegated address dad.
authorRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 10:54:02 +0000 (10:54 +0000)
committerRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 10:54:02 +0000 (10:54 +0000)
dhcp6.c

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