Searched defs:time_left (Results 1 - 1 of 1) sorted by relevance

/systemd/src/libsystemd-network/
H A Dsd-dhcp-client.c783 uint32_t time_left; local
797 time_left = (client->lease->t2 - client->lease->t1) / 2;
798 if (time_left < 60)
799 time_left = 60;
801 next_timeout = time_now + time_left * USEC_PER_SEC;
807 time_left = (client->lease->lifetime - client->lease->t2) / 2;
808 if (time_left < 60)
809 time_left = 60;
811 next_timeout = time_now + time_left * USEC_PER_SEC;

Completed in 306 milliseconds