diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-22 18:09:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 18:09:32 +0200 |
commit | 322dc0f0ba4fce664d089871bc7833d30f55718c (patch) | |
tree | 389dace55a31793acb7598c68b9c8acb2e2bdc36 /src/conf_mode/system_option.py | |
parent | 2277371fe18577502ce318c23789f86d1ec97be7 (diff) | |
parent | f453b33a6056de8fc5145ca9e680361fbce68348 (diff) | |
download | vyos-1x-322dc0f0ba4fce664d089871bc7833d30f55718c.tar.gz vyos-1x-322dc0f0ba4fce664d089871bc7833d30f55718c.zip |
Merge pull request #4000 from sever-sever/T6672
T6672: Fix system option ssh-client source-interface
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 d1647e3a1..52d0b7cda 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'] |