summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-24 09:05:25 +0100
committerGitHub <noreply@github.com>2024-08-24 09:05:25 +0100
commit6f4bbbac4eaa16327b174e6231993000f33a121f (patch)
treeb79719c457578d020626258ab79d11591404b933 /src
parent0e77effa7a752efd641751b541c5306a0e79b9e7 (diff)
parente7d1805e4a774b97c176d3cc1184e1645580589e (diff)
downloadvyos-1x-6f4bbbac4eaa16327b174e6231993000f33a121f.tar.gz
vyos-1x-6f4bbbac4eaa16327b174e6231993000f33a121f.zip
Merge pull request #4005 from vyos/mergify/bp/circinus/pr-4000
T6672: Fix system option ssh-client source-interface (backport #4000)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/system_option.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/system_option.py b/src/conf_mode/system_option.py
index 6eb47e552..5b593335e 100755
--- a/src/conf_mode/system_option.py
+++ b/src/conf_mode/system_option.py
@@ -85,6 +85,8 @@ def verify(options):
raise ConfigError('No interface with address "{address}" configured!')
if 'source_interface' in config:
+ # verify_source_interface reuires key 'ifname'
+ config['ifname'] = config['source_interface']
verify_source_interface(config)
if 'source_address' in config:
address = config['source_address']