use leaetime as base for T1 and T2 upper bound
[project/odhcpd.git] / src / dhcpv4.c
index 53e4682..62ddab8 100644 (file)
@@ -519,6 +519,9 @@ static struct dhcpv4_assignment* dhcpv4_lease(struct interface *iface,
                        a = NULL;
                }
 
+               if (a)
+                       update_state = true;
+
                if (assigned && a)
                        lease = a;
        } else if (msg == DHCPV4_MSG_RELEASE) {