From e6d5e1d5360d8838ca39406c5e0fe21e19c772a0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 19 Apr 2018 21:06:47 +0200 Subject: mdns-repeater: ensure list [] when retrieving interfaces --- src/conf-mode/vyos-config-mdns-repeater.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3