aboutsummaryrefslogtreecommitdiffstats
path: root/config/openospfd
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-22 16:28:16 -0400
committerjim-p <jimp@pfsense.org>2012-08-22 16:29:43 -0400
commitc051bf14000857ffff97ab80273a1a0ea6b62c7b (patch)
tree8f981b7a2362ed142ce36d11679f5fd37801e109 /config/openospfd
parent5413255f09b75859c3fcab39bbaef65a9ac6dfe7 (diff)
downloadpfsense-packages-c051bf14000857ffff97ab80273a1a0ea6b62c7b.tar.gz
pfsense-packages-c051bf14000857ffff97ab80273a1a0ea6b62c7b.tar.bz2
pfsense-packages-c051bf14000857ffff97ab80273a1a0ea6b62c7b.zip
Unbreak OpenOSPFD but also flag it as depreciated in favor of Quagga OSPF. Fixes #2575
Diffstat (limited to 'config/openospfd')
-rw-r--r--config/openospfd/openospfd.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/openospfd/openospfd.inc b/config/openospfd/openospfd.inc
index bc8826e1..86e043d5 100644
--- a/config/openospfd/openospfd.inc
+++ b/config/openospfd/openospfd.inc
@@ -77,6 +77,8 @@ function ospfd_install_conf() {
if (is_array($ospfd_conf['row'])) {
foreach ($ospfd_conf['row'] as $redistr) {
+ if (empty($redistr['routevalue']))
+ continue;
if (isset($redistr['redistribute']))
$conffile .= "no ";
$conffile .= "redistribute {$redistr['routevalue']}\n";