Searched refs:max_lease_sec (Results 1 – 1 of 1) sorted by relevance
141 uint32_t max_lease_sec; // maximum lease time (host order) member905 gconfig.max_lease_sec = *((uint32_t*)options_list[count].val); in set_maxlease()908 if (!gconfig.max_lease_sec) gconfig.max_lease_sec = (60*60*24*10);// DEFAULT_LEASE_TIME; in set_maxlease()916 if ((req_exp <= 0) || (req_exp > gconfig.max_lease_sec)) in get_lease()917 return gconfig.max_lease_sec; in get_lease()1218 if (!serverid) reqested_lease = gconfig.max_lease_sec; in dhcpd_main()