dhcpv4: Adding DHCP client leasetime request support
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 17 Nov 2016 15:12:00 +0000 (16:12 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Nov 2016 10:36:26 +0000 (11:36 +0100)
commit371a80c7257d9207e242db15e257b12d4c0238b2
tree079d345caab0e3b89489802ff58fcce40fb62484
parentd7732c6050cd091dac5e88b9b625e4cdb61acc69
dhcpv4: Adding DHCP client leasetime request support

Add support for DHCPv4 clients proposing a leasetime;
proposed leasetime will be accepted if it does not
exceed either the pool or configured lease leastime.
Further rework the duplicated leasetime logic which
was in place.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv4.c