diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-03-02 05:05:01 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-03-02 05:05:01 +0100 |
commit | f2c8117e8d63fd5e99a9fe4a049c688e4dac553e (patch) | |
tree | 9fd8bf48c8358c15234428aa512f4bdc250d289d /src/conf-mode/vyos-config-bcast-relay.py | |
parent | 6ccbfde76e951652fdafa3bd602bc6c2e6f28c9d (diff) | |
download | vyos-1x-f2c8117e8d63fd5e99a9fe4a049c688e4dac553e.tar.gz vyos-1x-f2c8117e8d63fd5e99a9fe4a049c688e4dac553e.zip |
T379: rename bcast-relay to broadcast-relay.
Diffstat (limited to 'src/conf-mode/vyos-config-bcast-relay.py')
-rwxr-xr-x | src/conf-mode/vyos-config-bcast-relay.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |