From b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Wed, 14 Jul 2010 15:15:35 -0700 Subject: fix for bug 5848 --- lib/Vyatta/Quagga/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta/Quagga/Config.pm') 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 { -- cgit v1.2.3