summaryrefslogtreecommitdiff
path: root/src/migration-scripts/ipoe-server/1-to-2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-10 19:59:20 +0100
committerGitHub <noreply@github.com>2024-01-10 19:59:20 +0100
commitaebb458262072457c6a3840d1b17031fbd780eca (patch)
treeb89f9b47d85bc00c758bd2388574270d20858079 /src/migration-scripts/ipoe-server/1-to-2
parente890527d730053ed73227180c77d9dbbb9393ce0 (diff)
parent4ffec67d04670192d9b722353cbaef04cb0ba129 (diff)
downloadvyos-1x-aebb458262072457c6a3840d1b17031fbd780eca.tar.gz
vyos-1x-aebb458262072457c6a3840d1b17031fbd780eca.zip
Merge pull request #2777 from aapostoliuk/T5688-multirange
T5688: Changed 'range' to multi in 'client-ip-pool' for accell-ppp
Diffstat (limited to 'src/migration-scripts/ipoe-server/1-to-2')
-rwxr-xr-xsrc/migration-scripts/ipoe-server/1-to-22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/ipoe-server/1-to-2 b/src/migration-scripts/ipoe-server/1-to-2
index c8cec6835..11d7911e9 100755
--- a/src/migration-scripts/ipoe-server/1-to-2
+++ b/src/migration-scripts/ipoe-server/1-to-2
@@ -57,7 +57,7 @@ for pool_name in config.list_nodes(namedpools_base):
pool_path = namedpools_base + [pool_name]
if config.exists(pool_path + ['subnet']):
subnet = config.return_value(pool_path + ['subnet'])
- config.set(pool_base + [pool_name, 'range'], value=subnet)
+ config.set(pool_base + [pool_name, 'range'], value=subnet, replace=False)
# Get netmask from subnet
mask = subnet.split("/")[1]
if config.exists(pool_path + ['next-pool']):