summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-definitions/bcast-relay.xml2
-rwxr-xr-xsrc/conf-mode/vyos-config-bcast-relay.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/bcast-relay.xml b/interface-definitions/bcast-relay.xml
index 0e2f26425..e4a009ed4 100644
--- a/interface-definitions/bcast-relay.xml
+++ b/interface-definitions/bcast-relay.xml
@@ -5,7 +5,7 @@
<interfaceDefinition>
<node name="service">
<children>
- <node name="bcast-relay">
+ <node name="broadcast-relay">
<properties>
<help>UDP Broadcast Relay parameters</help>
</properties>
diff --git a/src/conf-mode/vyos-config-bcast-relay.py b/src/conf-mode/vyos-config-bcast-relay.py
index 682cb220e..3107dce43 100755
--- a/src/conf-mode/vyos-config-bcast-relay.py
+++ b/src/conf-mode/vyos-config-bcast-relay.py
@@ -29,7 +29,7 @@ config_file = r'/etc/default/udp-broadcast-relay'
def get_config():
conf = Config()
- conf.set_level("service bcast-relay id")
+ conf.set_level("service broadcast-relay id")
relay_id = conf.list_nodes("")
relays = []
@@ -61,10 +61,10 @@ def get_config():
def verify(relays):
for relay in relays:
if not relay["port"]:
- raise ConfigError("UDP bcast relay 'id {0}' requires a port number".format(relay["id"]))
+ raise ConfigError("UDP broadcast relay 'id {0}' requires a port number".format(relay["id"]))
if len(relay["interfaces"]) < 2:
- raise ConfigError("UDP bcast relay 'id {0}' requires at least 2 interfaces".format(relay["id"]))
+ raise ConfigError("UDP broadcast relay 'id {0}' requires at least 2 interfaces".format(relay["id"]))
return None