summaryrefslogtreecommitdiff
path: root/src/conf-mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2017-12-10 12:47:20 +0100
committerChristian Poessinger <christian@poessinger.com>2017-12-10 12:47:20 +0100
commit8826edfcbb60bc4372978b4a11d2300b07d5ac1c (patch)
tree5ded5444687f4bca851d231bfb4046525a04aa3b /src/conf-mode
parent0435a069d4d71cd9129ab36753f2a2885f33ef26 (diff)
downloadvyos-1x-8826edfcbb60bc4372978b4a11d2300b07d5ac1c.tar.gz
vyos-1x-8826edfcbb60bc4372978b4a11d2300b07d5ac1c.zip
mdns-repeater: use consistent naming of 'interface' node
Diffstat (limited to 'src/conf-mode')
-rwxr-xr-xsrc/conf-mode/vyos-config-mdns-repeater.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf-mode/vyos-config-mdns-repeater.py b/src/conf-mode/vyos-config-mdns-repeater.py
index 0d04f7881..85e3bb42c 100755
--- a/src/conf-mode/vyos-config-mdns-repeater.py
+++ b/src/conf-mode/vyos-config-mdns-repeater.py
@@ -35,8 +35,8 @@ def get_config():
if not conf.exists(''):
return interface_list
- if conf.exists('interfaces'):
- intfs_names = conf.return_values('interfaces')
+ if conf.exists('interface'):
+ intfs_names = conf.return_values('interface')
intfs_names=intfs_names.replace("'", "")
intfs_names=intfs_names.split()