summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigLoad.pm
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-30 09:53:00 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-30 09:53:00 -0700
commitdc4bd2c05375cece9d1c1281cbebbef40a09c4e4 (patch)
tree1ad940cb817d22726b1e1f763f12b0e11f3a5acc /lib/Vyatta/ConfigLoad.pm
parent56dc9db80960f62f021958baba29c49dda895b03 (diff)
downloadvyatta-cfg-dc4bd2c05375cece9d1c1281cbebbef40a09c4e4.tar.gz
vyatta-cfg-dc4bd2c05375cece9d1c1281cbebbef40a09c4e4.zip
add default status observers
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;
}