aboutsummaryrefslogtreecommitdiffstats
path: root/config/openospfd
diff options
context:
space:
mode:
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";