summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-03-28 01:51:40 +0000
committerpaul <paul>2003-03-28 01:51:40 +0000
commit800dc10516897671a95f4ee86db65963758d4901 (patch)
treeb78cdc757e6d7749d4bc32ed2b162d6b0835b364
parenta15f45d44bf947864cff492d3fc4823d5d64383d (diff)
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.
-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;