summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-24 10:05:37 +0200
committerGitHub <noreply@github.com>2024-08-24 10:05:37 +0200
commitaaeb7e3431cc7ddc8a0fbaf9c846d686b0fc7203 (patch)
tree9a05755e8d6967e883224c14e7ae4b09d067d2c1 /src
parent2506569c9cec28507cbc4c44c053458bc85d7f32 (diff)
parent2947e7f2a5a48af5cb85e440fe5ef83c0e0b498a (diff)
downloadvyos-1x-aaeb7e3431cc7ddc8a0fbaf9c846d686b0fc7203.tar.gz
vyos-1x-aaeb7e3431cc7ddc8a0fbaf9c846d686b0fc7203.zip
Merge pull request #4004 from vyos/mergify/bp/sagitta/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 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']