summaryrefslogtreecommitdiff
path: root/src/migration-scripts/ipoe-server/1-to-2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-11 06:48:06 +0100
committerGitHub <noreply@github.com>2024-01-11 06:48:06 +0100
commitd0145bfc824099cb17ad6dc2cc2f81cace4f430d (patch)
treea439f0baf9a2d2310d72b58688cf0c30ba93f9c5 /src/migration-scripts/ipoe-server/1-to-2
parentd0dcbfa475fae4817b0bc4d0718ecf65eae85270 (diff)
parentb588e0784626ca42bf0da84a766213bda725305e (diff)
downloadvyos-1x-d0145bfc824099cb17ad6dc2cc2f81cace4f430d.tar.gz
vyos-1x-d0145bfc824099cb17ad6dc2cc2f81cace4f430d.zip
Merge pull request #2789 from vyos/mergify/bp/sagitta/pr-2777
T5688: Changed 'range' to multi in 'client-ip-pool' for accell-ppp (backport #2777)
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']):