From f7086bb867264b6d5c76ef3e04dfef5680304a78 Mon Sep 17 00:00:00 2001 From: Len Date: Mon, 5 Feb 2018 04:11:17 -0500 Subject: [PATCH] Update {$mac}.xml --- .../templates/provision/cisco/spa301/{$mac}.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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