diff options
author | Dainis Jonitis <dainis.jonitis@ubnt.com> | 2018-11-26 14:43:45 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-05-03 14:45:55 +0200 |
commit | 39e11ed2d9de55a2661c21176b74263988e932d3 (patch) | |
tree | 68921ced55b0e94658bc26a9bd37e5d07df4fd69 /src/dhcpv4.h | |
parent | 4a600ce5b1f3f2d877ad68ce0cc199a122d30abd (diff) |
dhcpv4: DHCP pool size is off-by-one
1. "limit" option should specify the size of dynamic pool. The dhcpv4_end
includes the last valid pool address.
2. Also handle 7 bit host addresses when not directly specified in config file.
3. Make sure code does what documentation says and default 'start'/'limit'
pool options to 100 and 150 respectively.
Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv4.h')
0 files changed, 0 insertions, 0 deletions