]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
If the DHCP leased address is deleted, enter the reboot phase.
authorRoy Marples <roy@marples.name>
Thu, 22 Mar 2018 18:21:46 +0000 (18:21 +0000)
committerRoy Marples <roy@marples.name>
Thu, 22 Mar 2018 18:21:46 +0000 (18:21 +0000)
src/dhcp.c

index f59b347f10df15671a6215f0fd3e23da67120207..68b0dd565e9bdfb422a20fad4b08bfa486a6d8d2 100644 (file)
@@ -3912,6 +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);
                }
                return;
        }