diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-10-03 22:46:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-10-03 22:46:52 +0200 |
commit | 1182b44e6c90bf58ff0e1cf51a97f31c9c9d3f84 (patch) | |
tree | 9ed3b51f0d5ebde6927798137b8c47c8533c83dd /src/conf_mode/firewall_options.py | |
parent | 08b60ba1ccbb12d398a184f0303f2c150a15b918 (diff) | |
download | vyos-1x-1182b44e6c90bf58ff0e1cf51a97f31c9c9d3f84.tar.gz vyos-1x-1182b44e6c90bf58ff0e1cf51a97f31c9c9d3f84.zip |
dhcp-server: T1707: bugfix on subsequent DHCP exclude addresses
Moved the code for splicing a DHCP range into its dedicated function as this
will later be required again. Having subsequent DHCP exclude addresses
e.g. 192.0.2.70 and 192.0.2.71 did not work as the previous algorithm
created a range whose start address was after the end address.
(cherry picked from commit 0f0f9f2835cf85c1fd3652ec83368528754764cd)
Diffstat (limited to 'src/conf_mode/firewall_options.py')
0 files changed, 0 insertions, 0 deletions