diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-26 09:25:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-26 09:27:18 +0200 |
commit | 8aa548c975bbbd306d9a1f8441960c3834388fdf (patch) | |
tree | 6e30fe18f60d422be67f7622ec371ab925d9c728 /data/templates/ssh | |
parent | 2c2739eb134091007644a861688ab431465d7699 (diff) | |
download | vyos-1x-8aa548c975bbbd306d9a1f8441960c3834388fdf.tar.gz vyos-1x-8aa548c975bbbd306d9a1f8441960c3834388fdf.zip |
ssh: T2642: bugfix on multiple listen-address statements
Commit 1d7f88b459d ("ssh: T2635: migrate to get_config_dict()") used a wrong
loop iterator on the rendered ListenAddress statement.
Diffstat (limited to 'data/templates/ssh')
-rw-r--r-- | data/templates/ssh/sshd_config.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ssh/sshd_config.tmpl b/data/templates/ssh/sshd_config.tmpl index 1c136bb23..dbc5c3646 100644 --- a/data/templates/ssh/sshd_config.tmpl +++ b/data/templates/ssh/sshd_config.tmpl @@ -57,7 +57,7 @@ PasswordAuthentication {{ "no" if disable_password_authentication is defined els ListenAddress {{ listen_address }} {% else %} {% for address in listen_address %} -ListenAddress {{ value }} +ListenAddress {{ address }} {% endfor %} {% endif %} {% endif %} |