summaryrefslogtreecommitdiff
path: root/data/templates/system/ssh_config.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-11 20:58:35 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-11 20:58:35 +0200
commitc8ae06b581cbf1a19789500ae15d07a863724272 (patch)
tree7f77e5d1f166afe90a4a3ab54a41983c63992185 /data/templates/system/ssh_config.tmpl
parent129e7f1d266186e40c715de9481daad25544df2f (diff)
downloadvyos-1x-c8ae06b581cbf1a19789500ae15d07a863724272.tar.gz
vyos-1x-c8ae06b581cbf1a19789500ae15d07a863724272.zip
system-option: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/system/ssh_config.tmpl')
-rw-r--r--data/templates/system/ssh_config.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/system/ssh_config.tmpl b/data/templates/system/ssh_config.tmpl
index abc03f069..1449f95b1 100644
--- a/data/templates/system/ssh_config.tmpl
+++ b/data/templates/system/ssh_config.tmpl
@@ -1,3 +1,3 @@
-{% if ssh_client is defined and ssh_client.source_address is defined and ssh_client.source_address is not none %}
+{% if ssh_client.source_address is vyos_defined %}
BindAddress {{ ssh_client.source_address }}
{% endif %}