Browse Source

Merge branch 'mikemol-match-prioritization-2'

tags/v0.41.0
Alexander Weidinger 7 years ago
parent
commit
52b0eb2816
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      openssh/files/sshd_config

+ 2
- 2
openssh/files/sshd_config View File

@@ -223,8 +223,8 @@

{# Handle matches last as they need to go at the bottom #}
{%- if 'matches' in sshd_config %}
{%- for match in sshd_config['matches'].values() %}
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }}
{%- for name, match in sshd_config['matches']|dictsort(true) %}
Match {{ match['type'].keys()[0] }} {{ match['type'].values()[0] }} # {{ name }}
{%- for keyword in match['options'].keys() %}
{{ render_option(keyword, '', config_dict=match['options']) }}
{%- endfor %}

Loading…
Cancel
Save