diff options
author | Dainis Jonitis <dainis.jonitis@ubnt.com> | 2019-04-29 14:57:13 +0300 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-05-03 14:51:52 +0200 |
commit | 3c9810b24b0794028ad9ed2ef7bc18ba41d78428 (patch) | |
tree | d72b39ef715d3b94c949a2e7284248962e7941e4 /COPYING | |
parent | b60c384a5ac698103f05bc102cbef92143f1f237 (diff) |
dhcpv4: fix lease ordering by ip address
1. Maintaining of sorted list was wrong for static lease case.
Add dhcpv4_insert_assignment() helper function and use it from all places.
2. Add ip4toa() helper function to print ipv4 address that is stored as
network byte-order uint32_t.
Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions