Limit lifetime of non-static leases in case of release and decline
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 15 Dec 2016 21:37:47 +0000 (22:37 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 27 Dec 2016 20:53:55 +0000 (21:53 +0100)
commit4c89614ccf5d72ee0c0824e5050a8814748a32c3
treef54a82daadd4ed089ff2b53967a58d98baf436b6
parent8dc2a59dcaef51be41cf82621c0e00eac88074aa
Limit lifetime of non-static leases in case of release and decline

In case infinite leasetime is assigned to a non static DHCPv4/v6 lease
override the infinite lifetime of the lease when either a DHCPv4/v6
decline or release is received.

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