summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-04-19 21:06:47 +0200
committerChristian Poessinger <christian@poessinger.com>2018-04-19 21:06:47 +0200
commite6d5e1d5360d8838ca39406c5e0fe21e19c772a0 (patch)
tree816515f4f52caff2c53e76beb1c3c0357adcfdc4 /src
parentded491574ed5d65e34368b979578a1e71f9d89fd (diff)
downloadvyos-1x-e6d5e1d5360d8838ca39406c5e0fe21e19c772a0.tar.gz
vyos-1x-e6d5e1d5360d8838ca39406c5e0fe21e19c772a0.zip
mdns-repeater: ensure list [] when retrieving interfaces
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf-mode/vyos-config-mdns-repeater.py1
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: