diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-10 22:40:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 22:40:14 +0100 |
commit | 7d47524d1af1edb998fb136908f602d84786f87f (patch) | |
tree | 03606e0eec3865527b3374c9923f5abb7c1b0dd5 | |
parent | c2ac56c5fb6a929afe054deab70d9e83a6a7a3f2 (diff) | |
download | vyos-1x-7d47524d1af1edb998fb136908f602d84786f87f.tar.gz vyos-1x-7d47524d1af1edb998fb136908f602d84786f87f.zip |
vxlan: T3700: unindent other tunnels cleanup code
-rwxr-xr-x | src/conf_mode/interfaces-vxlan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py index 95d982f38..6cd931049 100755 --- a/src/conf_mode/interfaces-vxlan.py +++ b/src/conf_mode/interfaces-vxlan.py @@ -55,8 +55,8 @@ def get_config(config=None): ifname = vxlan['ifname'] if ifname in vxlan['other_tunnels']: del vxlan['other_tunnels'][ifname] - if len(vxlan['other_tunnels']) == 0: - del vxlan['other_tunnels'] + if len(vxlan['other_tunnels']) == 0: + del vxlan['other_tunnels'] return vxlan |