diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-23 02:28:21 +0000 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-23 02:28:21 +0000 |
commit | 6306d8958ac530319a7e26e3710438ffe7d7ec24 (patch) | |
tree | 24796208af006ca4444ab6b5c2ae24762b5e67d4 | |
parent | f06d9b22a6d9b355b4faa0271d31d4c2f58369a7 (diff) | |
download | vyos-1x-6306d8958ac530319a7e26e3710438ffe7d7ec24.tar.gz vyos-1x-6306d8958ac530319a7e26e3710438ffe7d7ec24.zip |
tunnel: T2028: fix wrongly block 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']: |