summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Quagga
diff options
context:
space:
mode:
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 {