summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_option.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/system_option.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/system_option.py')
-rwxr-xr-xsrc/conf_mode/system_option.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system_option.py b/src/conf_mode/system_option.py
index 180686924..9fd7a3195 100755
--- a/src/conf_mode/system_option.py
+++ b/src/conf_mode/system_option.py
@@ -68,7 +68,7 @@ def verify(options):
if 'http_client' in options:
config = options['http_client']
if 'source_interface' in config:
- verify_interface_exists(config['source_interface'])
+ verify_interface_exists(options, config['source_interface'])
if {'source_address', 'source_interface'} <= set(config):
raise ConfigError('Can not define both HTTP source-interface and source-address')