diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-07-21 18:44:08 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-07-21 18:44:08 +0000 |
commit | 18c954363b86dd57b4913a80e5839096614d2059 (patch) | |
tree | 676a4b4adbdad303e92d69a375d23285c120cb36 /python/vyos/ifconfig | |
parent | d114792a0dd7c7730832a25d8a2b879f32783cca (diff) | |
download | vyos-1x-18c954363b86dd57b4913a80e5839096614d2059.tar.gz vyos-1x-18c954363b86dd57b4913a80e5839096614d2059.zip |
VXLAN: T3683: Fix for ipv6 source-interface option
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r-- | python/vyos/ifconfig/vxlan.py | 3 |
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'] |