summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Quagga/Config.pm
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-11-12 12:16:24 -0800
committerRobert Bays <robert@vyatta.com>2010-11-12 12:16:24 -0800
commitefd6cc3023d700201e1c0c8b5107d4c6e7777c39 (patch)
treecca557fcc400f15963be6de97dfb50ce20dd71c8 /lib/Vyatta/Quagga/Config.pm
parentf482dd12ba2d6d8545bd3084841e07b99465adfb (diff)
downloadvyatta-cfg-quagga-efd6cc3023d700201e1c0c8b5107d4c6e7777c39.tar.gz
vyatta-cfg-quagga-efd6cc3023d700201e1c0c8b5107d4c6e7777c39.zip
Revert "Looks like merge with larkspur missed this..."
It wasn't a merge error. It was a change in the underlying library. This reverts commit 2b500bb648942a90e53d774a68da31c52b9d14ac.
Diffstat (limited to 'lib/Vyatta/Quagga/Config.pm')
-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 90a3d4d0..8afc1bed 100644
--- a/lib/Vyatta/Quagga/Config.pm
+++ b/lib/Vyatta/Quagga/Config.pm
@@ -399,7 +399,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);
@@ -410,7 +410,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);