summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv4.h
diff options
context:
space:
mode:
authorDainis Jonitis <dainis.jonitis@ubnt.com>2018-11-26 14:43:45 +0200
committerHans Dedecker <dedeckeh@gmail.com>2019-05-03 14:45:55 +0200
commit39e11ed2d9de55a2661c21176b74263988e932d3 (patch)
tree68921ced55b0e94658bc26a9bd37e5d07df4fd69 /src/dhcpv4.h
parent4a600ce5b1f3f2d877ad68ce0cc199a122d30abd (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