summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authortjjh89017 <tjjh89017@hotmail.com>2020-03-05 15:51:36 +0800
committertjjh89017 <tjjh89017@hotmail.com>2020-03-05 16:12:39 +0800
commite860a84e2db9aa841ecf9eae2ba9cc586bddfa2e (patch)
tree165875a3b55f9de3c4ff7531a0c50a09600614fe /python
parent359ac4cb1b1503d3889e0b84893abdd00db62197 (diff)
downloadvyos-1x-e860a84e2db9aa841ecf9eae2ba9cc586bddfa2e.tar.gz
vyos-1x-e860a84e2db9aa841ecf9eae2ba9cc586bddfa2e.zip
ifconfig: T2101: Fix undefined reference variable in VXLANIf
change `config['remote']` to `self.config['remote']`
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