diff options
author | Christian Breunig <christian@breunig.cc> | 2023-06-30 21:49:02 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-06-30 21:49:02 +0200 |
commit | a409b255acc3dc0a67058593e31b3614e20714f0 (patch) | |
tree | 532dfcc240a3ada44dd1522d6a0a392a85f3f889 /src/conf_mode | |
parent | 881eee52bd1151287926c29944cd0b8a977f20fb (diff) | |
download | vyos-1x-a409b255acc3dc0a67058593e31b3614e20714f0.tar.gz vyos-1x-a409b255acc3dc0a67058593e31b3614e20714f0.zip |
bcast-relay: T5313: capitalize UDP protocol name
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/bcast_relay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/bcast_relay.py b/src/conf_mode/bcast_relay.py index 459e4cdd4..7b93a31c0 100755 --- a/src/conf_mode/bcast_relay.py +++ b/src/conf_mode/bcast_relay.py @@ -52,11 +52,11 @@ def verify(relay): # we certainly require a UDP port to listen to if 'port' not in config: - raise ConfigError(f'Port number mandatory for udp broadcast relay "{instance}"') + raise ConfigError(f'Port number is mandatory for UDP broadcast relay "{instance}"') # Relaying data without two interface is kinda senseless ... if len(config.get('interface', [])) < 2: - raise ConfigError('At least two interfaces are required for udp broadcast relay "{instance}"') + raise ConfigError('At least two interfaces are required for UDP broadcast relay "{instance}"') for interface in config.get('interface', []): verify_interface_exists(interface) |