summaryrefslogtreecommitdiff
path: root/src/conf_mode
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:18 +0200
commit77bce8f54bad791ea7ab6e6100ee11c97ec3dfb4 (patch)
treeb7c61df4a7e429bb71d22d106cc2f4bd4f0d692e /src/conf_mode
parentc77e641c521c03b6098613833fe22e09b11ad23f (diff)
downloadvyos-1x-77bce8f54bad791ea7ab6e6100ee11c97ec3dfb4.tar.gz
vyos-1x-77bce8f54bad791ea7ab6e6100ee11c97ec3dfb4.zip
bcast-relay: T5313: capitalize UDP protocol name
(cherry picked from commit a409b255acc3dc0a67058593e31b3614e20714f0)
Diffstat (limited to 'src/conf_mode')
-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 265ececbd..1ace01758 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)