diff --git a/resources/templates/provision/cisco/spa301/{$mac}.xml b/resources/templates/provision/cisco/spa301/{$mac}.xml index e3b825e441..2ac1eb8abb 100644 --- a/resources/templates/provision/cisco/spa301/{$mac}.xml +++ b/resources/templates/provision/cisco/spa301/{$mac}.xml @@ -341,19 +341,14 @@ *97 {foreach $keys["line"] as $row} -{if $row.device_key_type == "line"} +{if $row.device_key_category == "line"} {$row.device_key_line} {$row.device_key_label} -private - -{else} -Disabled -{$row.device_key_label} -private +{if $row.device_key_type == "shared"}shared{else}private{/if} {$row.device_key_value} -{/if} +{/if} {/foreach} @@ -403,7 +398,7 @@ Yes -private +{if $shared_line_1 == "shared"}shared{else}private{/if} 3600 No