DHCP6: Don't exit if using DHCP4 INFORM in non manager mode

Fixes #514.
This commit is contained in:
Roy Marples 2025-07-05 09:20:34 +01:00
parent 226a68edb9
commit 4dd7ebedbe

View File

@ -3403,12 +3403,8 @@ dhcp6_bind(struct interface *ifp, const char *op, const char *sfrom)
dhcp6_script_try_run(ifp, 0);
}
if (ifp->ctx->options & DHCPCD_TEST ||
(ifp->options->options & DHCPCD_INFORM &&
!(ifp->ctx->options & DHCPCD_MANAGER)))
{
if (ifp->ctx->options & DHCPCD_TEST)
eloop_exit(ifp->ctx->eloop, EXIT_SUCCESS);
}
}
static void