diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-12 16:07:24 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-18 11:43:09 +0100 |
commit | ca8ba91c757b1559bc6391707547d54477c8315a (patch) | |
tree | 72ec738d9c4cc531b15a001378e795d24062232d /src/netlink.c | |
parent | 36833ea26684b70b0d6093ecec648fe192a582ec (diff) |
dhcp: rework static lease logic
Rework the static lease logic as the existing logic had different issues.
Static leases are now added in a vlist tree which makes it easier to handle
static lease config changes.
For both DHCPv4 and DHCPv6 static assignments are now created upon the
receival of DHCPv4/DHCPv6 messages as before the static assignment was
created even if the client was not physically present.
In case a hostname is specified in a static lease it won't be overriden
anymore by the hostname received from the client.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/netlink.c')
0 files changed, 0 insertions, 0 deletions