From f775cf5cd7e2437901894a955447d4e8a01422a9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 8 Oct 2014 12:25:15 +0000 Subject: [PATCH] Pass the exiting flag to the pseudo interface so it can persist correctly. --- dhcp6.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dhcp6.c b/dhcp6.c index 06311ad3..bbd7386d 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -3185,6 +3185,8 @@ dhcp6_freedrop(struct interface *ifp, int drop, const char *reason) ifpx = dhcp6_findpfxdlgif(ifp); if (ifpx) { + if (options & DHCPCD_EXITING) + ifpx->options->options |= DHCPCD_EXITING; dhcp6_freedrop(ifpx, dropdele ? 1 : drop, reason); TAILQ_REMOVE(ifp->ctx->ifaces, ifpx, next); if_free(ifpx); -- 2.47.3