aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 2a068022..8f1fd5a4 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -159,7 +159,8 @@ function quagga_ospfd_install_conf() {
if (is_array($interface_networks))
foreach ($interface_networks as $ifn)
- $conffile .= " network {$ifn} area {$ospfd_conf['area']}\n";
+ if (is_subnet($ifn))
+ $conffile .= " network {$ifn} area {$ospfd_conf['area']}\n";
if (is_array($ospfd_conf['row'])) {
foreach ($ospfd_conf['row'] as $redistr) {