]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Really start dhcp on deletion of address.
authorRoy Marples <roy@marples.name>
Thu, 22 Mar 2018 19:18:03 +0000 (19:18 +0000)
committerRoy Marples <roy@marples.name>
Thu, 22 Mar 2018 19:18:03 +0000 (19:18 +0000)
src/dhcp.c

index 68b0dd565e9bdfb422a20fad4b08bfa486a6d8d2..80ffe4fc36f8c82fdea5acc40a9cb3caa2ef76a2 100644 (file)
@@ -3912,7 +3912,7 @@ dhcp_handleifa(int cmd, struct ipv4_addr *ia, pid_t pid)
                        /* Don't clear the added state as we need
                         * to drop the lease. */
                        dhcp_drop(ifp, "EXPIRE");
-                       dhcp_reboot(ifp);
+                       dhcp_start1(ifp);
                }
                return;
        }