summaryrefslogtreecommitdiff
path: root/data/templates/system/ssh_config.tmpl
diff options
context:
space:
mode:
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 %}