diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-23 08:09:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 08:09:21 +0100 |
commit | cefed7ae3fbbb93142051633ff00d3a9e19889c0 (patch) | |
tree | 84c261cd0c3a5fb6934a7714049c43918176a00c | |
parent | 876bbe601555c6383b0cc2e1b6962a6fd9dfba58 (diff) | |
parent | 6306d8958ac530319a7e26e3710438ffe7d7ec24 (diff) | |
download | vyos-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
-rwxr-xr-x | src/conf_mode/interfaces-tunnel.py | 2 |
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']: |