summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-30 21:49:02 +0200
committerChristian Breunig <christian@breunig.cc>2023-06-30 21:49:02 +0200
commita409b255acc3dc0a67058593e31b3614e20714f0 (patch)
tree532dfcc240a3ada44dd1522d6a0a392a85f3f889
parent881eee52bd1151287926c29944cd0b8a977f20fb (diff)
downloadvyos-1x-a409b255acc3dc0a67058593e31b3614e20714f0.tar.gz
vyos-1x-a409b255acc3dc0a67058593e31b3614e20714f0.zip
bcast-relay: T5313: capitalize UDP protocol name
-rwxr-xr-xsrc/conf_mode/bcast_relay.py4
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)