commit | 800dc10516897671a95f4ee86db65963758d4901 | [log] [tgz] |
---|---|---|
author | paul <paul> | Fri Mar 28 01:51:40 2003 +0000 |
committer | paul <paul> | Fri Mar 28 01:51:40 2003 +0000 |
tree | b78cdc757e6d7749d4bc32ed2b162d6b0835b364 | |
parent | a15f45d44bf947864cff492d3fc4823d5d64383d [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.
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 8d1b786..a98d5be 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c
@@ -728,6 +728,9 @@ { struct connected *co = getdata (cn); struct prefix *addr; + + if (CHECK_FLAG(co->flags,ZEBRA_IFA_SECONDARY)) + continue; if (ifc_pointopoint (co)) addr = co->destination;