diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-10 19:59:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 19:59:20 +0100 |
commit | aebb458262072457c6a3840d1b17031fbd780eca (patch) | |
tree | b89f9b47d85bc00c758bd2388574270d20858079 /src/migration-scripts/ipoe-server/1-to-2 | |
parent | e890527d730053ed73227180c77d9dbbb9393ce0 (diff) | |
parent | 4ffec67d04670192d9b722353cbaef04cb0ba129 (diff) | |
download | vyos-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-x | src/migration-scripts/ipoe-server/1-to-2 | 2 |
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']): |