diff options
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml.in | 2 | ||||
-rwxr-xr-x | src/conf_mode/bcast_relay.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index 03f169c05..dd1e8e511 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -5,7 +5,7 @@ <tagNode name="wireguard" owner="${vyos_conf_scripts_dir}/interfaces-wireguard.py"> <properties> <help>WireGuard Interface</help> - <priority>381</priority> + <priority>379</priority> <constraint> <regex>wg[0-9]+</regex> </constraint> 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) |