summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2013-06-18 09:17:28 +0000
committerRoy Marples <roy@marples.name>2013-06-18 09:17:28 +0000
commita945c63ad93e801765afbd4c900740861118abbb (patch)
treeb636ef18d76e97f2edb468deb94474de8d65581b /dhcpcd.c
parent6fb316a6688ffc37388063e0a74b334489ccadfd (diff)
downloaddhcpcd-a945c63ad93e801765afbd4c900740861118abbb.tar.xz
Add a delay to initial Rebind IA_PD message.
Delay initial DHCPv6 messages a futher 2 seconds for POINTOPOINT links to try and ensure dhcpcd receives a reply. Process link events last so that dhcpcd can process any rejection messages. When a delegating interface stops, the delegates addresses will be removed.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index f5781869..0ded685c 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -274,6 +274,7 @@ stop_interface(struct interface *ifp)
{
syslog(LOG_INFO, "%s: removing interface", ifp->name);
+ ifp->options->options |= DHCPCD_STOPPING;
// Remove the interface from our list
TAILQ_REMOVE(ifaces, ifp, next);