From 800dc10516897671a95f4ee86db65963758d4901 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 28 Mar 2003 01:51:40 +0000 Subject: Do not configure ospf for secondary prefixes. Preliminary fix to at least allow heartbeat to work with ospfd when Heartbeat failover address has same prefixlength as main address. --- ospfd/ospfd.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.1