From 18c954363b86dd57b4913a80e5839096614d2059 Mon Sep 17 00:00:00 2001
From: Viacheslav <v.gletenko@vyos.io>
Date: Wed, 21 Jul 2021 18:44:08 +0000
Subject: VXLAN: T3683: Fix for ipv6 source-interface option

---
 python/vyos/ifconfig/vxlan.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'python')

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']
-- 
cgit v1.2.3