summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_broadcast-relay.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-19 18:13:14 +0200
committerGitHub <noreply@github.com>2024-08-19 18:13:14 +0200
commit827fcb2967ec41d288248e5760707e3980415a34 (patch)
tree68cbbf736c88263411cbe6867e9f4881a50c68df /src/conf_mode/service_broadcast-relay.py
parentab4a52254622c32d2293dd4d683aa440a9b60330 (diff)
parenta6362cc32135b39b4320221006f48fef78f40c24 (diff)
downloadvyos-1x-827fcb2967ec41d288248e5760707e3980415a34.tar.gz
vyos-1x-827fcb2967ec41d288248e5760707e3980415a34.zip
Merge pull request #3973 from vyos/mergify/bp/sagitta/pr-3961
configverify: T6642: verify_interface_exists requires config_dict arg (backport #3961)
Diffstat (limited to 'src/conf_mode/service_broadcast-relay.py')
-rwxr-xr-xsrc/conf_mode/service_broadcast-relay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_broadcast-relay.py b/src/conf_mode/service_broadcast-relay.py
index 31c552f5a..d35954718 100755
--- a/src/conf_mode/service_broadcast-relay.py
+++ b/src/conf_mode/service_broadcast-relay.py
@@ -59,7 +59,7 @@ def verify(relay):
raise ConfigError('At least two interfaces are required for UDP broadcast relay "{instance}"')
for interface in config.get('interface', []):
- verify_interface_exists(interface)
+ verify_interface_exists(relay, interface)
if not is_afi_configured(interface, AF_INET):
raise ConfigError(f'Interface "{interface}" has no IPv4 address configured!')