summaryrefslogtreecommitdiff
path: root/src/op_mode/reset_openvpn.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-03 22:46:52 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-03 22:46:52 +0200
commit1182b44e6c90bf58ff0e1cf51a97f31c9c9d3f84 (patch)
tree9ed3b51f0d5ebde6927798137b8c47c8533c83dd /src/op_mode/reset_openvpn.py
parent08b60ba1ccbb12d398a184f0303f2c150a15b918 (diff)
downloadvyos-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/op_mode/reset_openvpn.py')
0 files changed, 0 insertions, 0 deletions