diff options
author | Robert Bays <robert@vyatta.com> | 2010-07-14 15:15:35 -0700 |
---|---|---|
committer | Robert Bays <robert@vyatta.com> | 2010-07-14 15:15:35 -0700 |
commit | b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf (patch) | |
tree | e5c28d4b8984327f906289fc82f80ffc7c9df0e5 /lib | |
parent | 3952766c30fb045a37f2dd83e8c2c5bb3892b840 (diff) | |
download | vyatta-cfg-quagga-b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf.tar.gz vyatta-cfg-quagga-b51bf81216ba5f3644d2f87f14f6432cf9ddb8cf.zip |
fix for bug 5848
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Vyatta/Quagga/Config.pm | 2 |
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 { |