From 4dd7ebedbed49ea74bb9b601e4bef483e263698b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 5 Jul 2025 09:20:34 +0100 Subject: [PATCH] DHCP6: Don't exit if using DHCP4 INFORM in non manager mode Fixes #514. --- src/dhcp6.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/dhcp6.c b/src/dhcp6.c index 534cb243..dbe73de2 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -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 -- 2.47.2