summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/ssh/sshguard_whitelist.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/ssh/sshguard_whitelist.j2 b/data/templates/ssh/sshguard_whitelist.j2
index 1e05ac00f..47a950a2b 100644
--- a/data/templates/ssh/sshguard_whitelist.j2
+++ b/data/templates/ssh/sshguard_whitelist.j2
@@ -1,7 +1,7 @@
### Autogenerated by ssh.py ###
-{% if dynamic_protection is vyos_defined and dynamic_protection.whitelist_address is vyos_defined %}
-{% for address in dynamic_protection.whitelist_address %}
+{% if dynamic_protection.allow_from is vyos_defined %}
+{% for address in dynamic_protection.allow_from %}
{{ address }}
{% endfor %}
{% endif %}