summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigLoad.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/ConfigLoad.pm')
-rwxr-xr-xlib/Vyatta/ConfigLoad.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm
index d3d7dbb..55ba76b 100755
--- a/lib/Vyatta/ConfigLoad.pm
+++ b/lib/Vyatta/ConfigLoad.pm
@@ -401,8 +401,8 @@ sub getConfigDiff {
$file;
} @{${$del}[0]};
- my ($is_multi, $is_text, $default)
- = $active_cfg->parseTmpl(join ' ', @comps);
+ $active_cfg->setLevel(join ' ', @comps);
+ my ($is_multi, $is_text, $default) = $active_cfg->parseTmpl();
if (!defined($default)) {
push @new_delete_list, $del;
}