diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-04 06:28:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-09-04 06:28:38 +0200 |
commit | 93f6b6a3b23f4169a4af4a23eb795d041be84e42 (patch) | |
tree | fee4f1610e611d3cd75d6a4d3bd36730e404abfe /tests | |
parent | d31d16d38c191a8973d79302b108db7276aef7fd (diff) | |
download | vyos-1x-93f6b6a3b23f4169a4af4a23eb795d041be84e42.tar.gz vyos-1x-93f6b6a3b23f4169a4af4a23eb795d041be84e42.zip |
dhcp_server.py: bugfix pool assignment
Commit 91c3b8bdd9 ("dhcp_server.py: cleanup") did not only cleanup parts
of the code but in addition added support for DHCP failover. That support
could lead to an empty pool {} statement if the subnet declaration only had
static address assignments but no range at all.
---<snip>---
dhcpd: /etc/dhcp/dhcpd.conf line 70: Pool declaration with no address
range.
dhcpd: }
dhcpd: ^
dhcpd: Pool declarations must always contain at least
dhcpd: one range statement.
---</snip>---
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions