summaryrefslogtreecommitdiff
path: root/src/migration-scripts/nat/6-to-7
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/nat/6-to-7')
-rwxr-xr-xsrc/migration-scripts/nat/6-to-72
1 files changed, 2 insertions, 0 deletions
diff --git a/src/migration-scripts/nat/6-to-7 b/src/migration-scripts/nat/6-to-7
index a2e735394..25640dec2 100755
--- a/src/migration-scripts/nat/6-to-7
+++ b/src/migration-scripts/nat/6-to-7
@@ -59,6 +59,8 @@ for direction in ['source', 'destination']:
tmp = config.return_value(base + [iface, 'interface-name'])
if tmp != 'any':
config.delete(base + [iface, 'interface-name'])
+ if '+' in tmp:
+ tmp = tmp.replace('+', '*')
config.set(base + [iface, 'name'], value=tmp)
else:
config.delete(base + [iface])