diff options
author | tjjh89017 <tjjh89017@hotmail.com> | 2020-03-05 15:51:36 +0800 |
---|---|---|
committer | tjjh89017 <tjjh89017@hotmail.com> | 2020-03-05 16:12:39 +0800 |
commit | e860a84e2db9aa841ecf9eae2ba9cc586bddfa2e (patch) | |
tree | 165875a3b55f9de3c4ff7531a0c50a09600614fe /python/vyos/ifconfig.py | |
parent | 359ac4cb1b1503d3889e0b84893abdd00db62197 (diff) | |
download | vyos-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/vyos/ifconfig.py')
-rw-r--r-- | python/vyos/ifconfig.py | 2 |
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 |