summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Quagga/Config.pm
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-11-10 18:14:12 -0800
committerRobert Bays <robert@vyatta.com>2010-11-10 18:14:12 -0800
commit2b500bb648942a90e53d774a68da31c52b9d14ac (patch)
tree301962c266bca0c4ac24ad55c01be45e0edf3a6c /lib/Vyatta/Quagga/Config.pm
parent6b69d3abfdec9f29a06e5dfe4ce6fd918c6fa9fd (diff)
downloadvyatta-cfg-quagga-2b500bb648942a90e53d774a68da31c52b9d14ac.tar.gz
vyatta-cfg-quagga-2b500bb648942a90e53d774a68da31c52b9d14ac.zip
Looks like merge with larkspur missed this...
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 8afc1bed..90a3d4d0 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($node);
+ my $tmplhash = $config->parseTmplAll(join ' ', "$level $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($node);
+ my $tmplhash = $config->parseTmplAll(join ' ', "$level $node");
if ($tmplhash->{'multi'}) {
if ($_DEBUG > 2) { print "DEBUG: multi\n"; }
@vals = $config->returnOrigValues($node);