summaryrefslogtreecommitdiff
path: root/src/migration-scripts/ipsec
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-05-25 15:33:46 -0500
committerGitHub <noreply@github.com>2022-05-25 15:33:46 -0500
commit7c1cb045ebbfb84668c703dba6c48af60fdcc788 (patch)
tree2d99d9089e3ad4e1121ab5552ab40ddaae893146 /src/migration-scripts/ipsec
parentec3a05d3dfda497910d42ad99d28d977312ea7a4 (diff)
parentac9d01365a9fd41003b4b8427348a3c3102341f5 (diff)
downloadvyos-1x-7c1cb045ebbfb84668c703dba6c48af60fdcc788.tar.gz
vyos-1x-7c1cb045ebbfb84668c703dba6c48af60fdcc788.zip
Merge pull request #1331 from jestabro/configtest-errors
configtest: T4382: errors exposed by revision of load-config
Diffstat (limited to 'src/migration-scripts/ipsec')
-rwxr-xr-xsrc/migration-scripts/ipsec/5-to-62
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/ipsec/5-to-6 b/src/migration-scripts/ipsec/5-to-6
index e9adee01b..3a8b3926d 100755
--- a/src/migration-scripts/ipsec/5-to-6
+++ b/src/migration-scripts/ipsec/5-to-6
@@ -78,7 +78,7 @@ if config.exists(log_mode):
base_interfaces = base + ['ipsec-interfaces', 'interface']
if config.exists(base_interfaces):
config.copy(base_interfaces, base + ['interface'])
- config.delete(base_interfaces)
+ config.delete(base + ['ipsec-interfaces'])
# Remove deprecated "auto-update" option
tmp = base + ['auto-update']