From: Roy Marples Date: Thu, 22 Mar 2018 18:21:46 +0000 (+0000) Subject: If the DHCP leased address is deleted, enter the reboot phase. X-Git-Tag: v7.0.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9a63624a93309bfdb5d8e3142422b614002331f;p=thirdparty%2Fdhcpcd.git If the DHCP leased address is deleted, enter the reboot phase. --- diff --git a/src/dhcp.c b/src/dhcp.c index f59b347f..68b0dd56 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -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; }