diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-04-19 21:06:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-04-19 21:06:47 +0200 |
commit | e6d5e1d5360d8838ca39406c5e0fe21e19c772a0 (patch) | |
tree | 816515f4f52caff2c53e76beb1c3c0357adcfdc4 /src | |
parent | ded491574ed5d65e34368b979578a1e71f9d89fd (diff) | |
download | vyos-1x-e6d5e1d5360d8838ca39406c5e0fe21e19c772a0.tar.gz vyos-1x-e6d5e1d5360d8838ca39406c5e0fe21e19c772a0.zip |
mdns-repeater: ensure list [] when retrieving interfaces
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf-mode/vyos-config-mdns-repeater.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf-mode/vyos-config-mdns-repeater.py b/src/conf-mode/vyos-config-mdns-repeater.py index 50949ed2b..3b8ca26ad 100755 --- a/src/conf-mode/vyos-config-mdns-repeater.py +++ b/src/conf-mode/vyos-config-mdns-repeater.py @@ -35,6 +35,7 @@ def get_config(): return interface_list if conf.exists('interface'): + intfs_names = [] intfs_names = conf.return_values('interface') for name in intfs_names: |