chiark / gitweb /
dhcp: Compute expire, T1 and T2 timers
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 9 Dec 2013 21:43:30 +0000 (23:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 16:43:34 +0000 (11:43 -0500)
commit51debc1e396a14d7c1204d8661c4eb1056c47670
treefa33f392a2291c63e2ddb36b6dec31ac21fc3482
parent3e3d8f7857a7a59d62cc5bd1e4e792dc4d0f40b3
dhcp: Compute expire, T1 and T2 timers

Compute the default T1 and T2 timer values if they were not set by
the DHCP server. Verify that the values are reasonable.
src/libsystemd-dhcp/dhcp-client.c
src/libsystemd-dhcp/dhcp-protocol.h