From 8826edfcbb60bc4372978b4a11d2300b07d5ac1c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 10 Dec 2017 12:47:20 +0100 Subject: mdns-repeater: use consistent naming of 'interface' node --- interface-definitions/mdns-repeater.xml | 2 +- src/conf-mode/vyos-config-mdns-repeater.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface-definitions/mdns-repeater.xml b/interface-definitions/mdns-repeater.xml index 871eb4925..e4898856b 100644 --- a/interface-definitions/mdns-repeater.xml +++ b/interface-definitions/mdns-repeater.xml @@ -16,7 +16,7 @@ 990 - + Interface to repeat mdns advertisements to [REQUIRED] 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() -- cgit v1.2.3