]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
DHCP6: Don't exit if using DHCP4 INFORM in non manager mode master
authorRoy Marples <roy@marples.name>
Sat, 5 Jul 2025 08:20:34 +0000 (09:20 +0100)
committerRoy Marples <roy@marples.name>
Sat, 5 Jul 2025 08:20:34 +0000 (09:20 +0100)
Fixes #514.

src/dhcp6.c

index 534cb243839dbfbd4edfdf3faaffc9db593736c3..dbe73de21ee856e363d70236e077d230e8d3892c 100644 (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