Pass the exiting flag to the pseudo interface so it can persist correctly.

This commit is contained in:
Roy Marples 2014-10-08 12:25:15 +00:00
parent 52ed0e0c78
commit f775cf5cd7

View File

@ -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);