diff --git a/templates/hp.tpl b/templates/hp.tpl index f67b0cf..310f8c2 100644 --- a/templates/hp.tpl +++ b/templates/hp.tpl @@ -76,8 +76,12 @@ exit ;--- Accès d'administration --- no telnet-server {%- if switch.web_management_enabled %} -web-management ssl +{%- if switch.web_management_enabled != "ssl" %} web-management plaintext +{%- endif %} +{%- if switch.web_management_enabled == "ssl" %} +web-management ssl +{%- endif %} {%- else %} no web-management {%- endif %}