summaryrefslogtreecommitdiff
path: root/src/migration-scripts/nat66
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-09 08:59:02 +0100
committerGitHub <noreply@github.com>2021-03-09 08:59:02 +0100
commit370d2d817f87418be15952af15e686badef4f687 (patch)
tree45ba1048455c81ed1540bc7e7f28673652a5332b /src/migration-scripts/nat66
parentab6ef466c128ba48f85b13ba8d4be1476e844726 (diff)
parent988be4157422975bec75122e875b722f7c933966 (diff)
downloadvyos-1x-370d2d817f87418be15952af15e686badef4f687.tar.gz
vyos-1x-370d2d817f87418be15952af15e686badef4f687.zip
Merge pull request #762 from jack9603301/T2518
nptv6: T2518: Support IPv6 address translation
Diffstat (limited to 'src/migration-scripts/nat66')
-rwxr-xr-xsrc/migration-scripts/nat66/0-to-12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/nat66/0-to-1 b/src/migration-scripts/nat66/0-to-1
index 74d64c07b..83b421926 100755
--- a/src/migration-scripts/nat66/0-to-1
+++ b/src/migration-scripts/nat66/0-to-1
@@ -49,7 +49,7 @@ def merge_npt(config,base,rule):
if config.exists(base + ['translation','prefix']):
tmp = config.return_value(base + ['translation','prefix'])
- config.set(merge_base + ['translation','prefix'],value=tmp)
+ config.set(merge_base + ['translation','address'],value=tmp)
if not config.exists(['nat', 'nptv6']):
# Nothing to do