summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-23 08:09:21 +0100
committerGitHub <noreply@github.com>2020-03-23 08:09:21 +0100
commitcefed7ae3fbbb93142051633ff00d3a9e19889c0 (patch)
tree84c261cd0c3a5fb6934a7714049c43918176a00c /src/conf_mode
parent876bbe601555c6383b0cc2e1b6962a6fd9dfba58 (diff)
parent6306d8958ac530319a7e26e3710438ffe7d7ec24 (diff)
downloadvyos-1x-cefed7ae3fbbb93142051633ff00d3a9e19889c0.tar.gz
vyos-1x-cefed7ae3fbbb93142051633ff00d3a9e19889c0.zip
Merge pull request #257 from thomas-mangin/2028-modify-fix
tunnel: T2028: fix wrongly blocked interface change
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index 67b58719b..8c2b3917d 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -337,7 +337,7 @@ def verify(conf):
raise ConfigError(f'Can not set "{create}" for tunnel {iftype} {ifname} at tunnel creation')
for modify in actions['modify']:
- if modify not in kls.updates:
+ if modify not in valid:
raise ConfigError(f'Can not modify "{modify}" for tunnel {iftype} {ifname}. it must be set at tunnel creation')
for delete in actions['delete']: