diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-08-24 09:05:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 09:05:25 +0100 |
commit | 6f4bbbac4eaa16327b174e6231993000f33a121f (patch) | |
tree | b79719c457578d020626258ab79d11591404b933 /src/conf_mode/system_option.py | |
parent | 0e77effa7a752efd641751b541c5306a0e79b9e7 (diff) | |
parent | e7d1805e4a774b97c176d3cc1184e1645580589e (diff) | |
download | vyos-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/conf_mode/system_option.py')
-rwxr-xr-x | src/conf_mode/system_option.py | 2 |
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'] |