diff options
-rw-r--r-- | interface-definitions/mdns-repeater.xml | 2 | ||||
-rwxr-xr-x | 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 @@ <priority>990</priority> </properties> <children> - <leafNode name="interfaces"> + <leafNode name="interface"> <properties> <help>Interface to repeat mdns advertisements to [REQUIRED]</help> <completionHelp> 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() |