summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-30 14:30:13 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-30 14:30:13 -0700
commita9bb04e0c823ce9dd5f075ce7654bcd9d6903219 (patch)
tree613fb00eb618e142935d9fe7f558b3bfb4c26af1 /lib/Vyatta
parent3dd5183a3c52ca16bc7b7461b2a2820fe87ff49d (diff)
downloadvyatta-cfg-quagga-a9bb04e0c823ce9dd5f075ce7654bcd9d6903219.tar.gz
vyatta-cfg-quagga-a9bb04e0c823ce9dd5f075ce7654bcd9d6903219.zip
new API changes
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Quagga/Config.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Quagga/Config.pm b/lib/Vyatta/Quagga/Config.pm
index bf45c891..644024e5 100644
--- a/lib/Vyatta/Quagga/Config.pm
+++ b/lib/Vyatta/Quagga/Config.pm
@@ -379,7 +379,7 @@ sub _qtree {
# This is either a set or delete on a single or multi: node
if ($action eq 'set') {
- my $tmplhash = $config->parseTmplAll(join ' ', "$level $node");
+ my $tmplhash = $config->parseTmplAll($node);
if ($tmplhash->{'multi'}) {
if ($_DEBUG > 2) { print "DEBUG: multi\n"; }
@vals = $config->returnValues($node);
@@ -390,7 +390,7 @@ sub _qtree {
}
}
else {
- my $tmplhash = $config->parseTmplAll(join ' ', "$level $node");
+ my $tmplhash = $config->parseTmplAll($node);
if ($tmplhash->{'multi'}) {
if ($_DEBUG > 2) { print "DEBUG: multi\n"; }
@vals = $config->returnOrigValues($node);