summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/vxlan.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-21 21:12:54 +0200
committerGitHub <noreply@github.com>2021-07-21 21:12:54 +0200
commit5149b540cba2800610b0bf5af7efedb010a6497d (patch)
tree676a4b4adbdad303e92d69a375d23285c120cb36 /python/vyos/ifconfig/vxlan.py
parentd114792a0dd7c7730832a25d8a2b879f32783cca (diff)
parent18c954363b86dd57b4913a80e5839096614d2059 (diff)
downloadvyos-1x-5149b540cba2800610b0bf5af7efedb010a6497d.tar.gz
vyos-1x-5149b540cba2800610b0bf5af7efedb010a6497d.zip
Merge pull request #933 from sever-sever/T3683
VXLAN: T3683: Fix for ipv6 source-interface option
Diffstat (limited to 'python/vyos/ifconfig/vxlan.py')
-rw-r--r--python/vyos/ifconfig/vxlan.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/vxlan.py b/python/vyos/ifconfig/vxlan.py
index 03c4d4dba..2cff21f02 100644
--- a/python/vyos/ifconfig/vxlan.py
+++ b/python/vyos/ifconfig/vxlan.py
@@ -79,8 +79,9 @@ class VXLANIf(Interface):
cmdline.append('remote')
if self.config['group'] or self.config['source_interface']:
- if self.config['group'] and self.config['source_interface']:
+ if self.config['group']:
cmdline.append('group')
+ if self.config['source_interface']:
cmdline.append('source_interface')
else:
ifname = self.config['ifname']