summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 8d1b7868..a98d5be0 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -728,6 +728,9 @@ ospf_network_run (struct ospf *ospf, struct prefix *p, struct ospf_area *area)
{
struct connected *co = getdata (cn);
struct prefix *addr;
+
+ if (CHECK_FLAG(co->flags,ZEBRA_IFA_SECONDARY))
+ continue;
if (ifc_pointopoint (co))
addr = co->destination;