summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index 7f03befeb..7140b1bbd 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -2020,7 +2020,7 @@ class VXLANIf(Interface):
group = 'group {}'.format(self.config['group'])
# if remote host is specified we ignore the multicast address
- if config['remote']:
+ if self.config['remote']:
group = 'remote {}'.format(self.config['remote'])
# an underlay device is not always specified