summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Quagga
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-07-14 15:15:35 -0700
committerRobert Bays <robert@vyatta.com>2010-07-14 15:15:35 -0700
commitb51bf81216ba5f3644d2f87f14f6432cf9ddb8cf (patch)
treee5c28d4b8984327f906289fc82f80ffc7c9df0e5 /lib/Vyatta/Quagga
parent3952766c30fb045a37f2dd83e8c2c5bb3892b840 (diff)
downloadvyatta-cfg-quagga-b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf.tar.gz
vyatta-cfg-quagga-b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf.zip
fix for bug 5848
Diffstat (limited to 'lib/Vyatta/Quagga')
-rw-r--r--lib/Vyatta/Quagga/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Quagga/Config.pm b/lib/Vyatta/Quagga/Config.pm
index 21aadb2a..bf45c891 100644
--- a/lib/Vyatta/Quagga/Config.pm
+++ b/lib/Vyatta/Quagga/Config.pm
@@ -283,7 +283,7 @@ sub _qVarReplace {
my $config = new Vyatta::Config;
$config->setLevel($node);
my $value = $config->returnValue($token);
- if ($value) { $result = "$result $value"; }
+ if (defined $value) { $result = "$result $value"; }
}
# if not, just append string to result
else {