Skip to content

Commit 4dd7ebe

Browse files
committed
DHCP6: Don't exit if using DHCP4 INFORM in non manager mode
Fixes #514.
1 parent 226a68e commit 4dd7ebe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/dhcp6.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,12 +3403,8 @@ dhcp6_bind(struct interface *ifp, const char *op, const char *sfrom)
34033403
dhcp6_script_try_run(ifp, 0);
34043404
}
34053405

3406-
if (ifp->ctx->options & DHCPCD_TEST ||
3407-
(ifp->options->options & DHCPCD_INFORM &&
3408-
!(ifp->ctx->options & DHCPCD_MANAGER)))
3409-
{
3406+
if (ifp->ctx->options & DHCPCD_TEST)
34103407
eloop_exit(ifp->ctx->eloop, EXIT_SUCCESS);
3411-
}
34123408
}
34133409

34143410
static void

0 commit comments

Comments
 (0)