]> git.puffer.fish Git - mirror/frr.git/commitdiff
Do not configure ospf for secondary prefixes.
authorpaul <paul>
Fri, 28 Mar 2003 01:51:40 +0000 (01:51 +0000)
committerpaul <paul>
Fri, 28 Mar 2003 01:51:40 +0000 (01:51 +0000)
Preliminary fix to at least allow heartbeat to work with ospfd when
Heartbeat failover address has same prefixlength as main address.

ospfd/ospfd.c

index 8d1b786821e1135bb41690e0f61a3aec300f53c4..a98d5be044d0e60fb015e5a84b766de016eaebe2 100644 (file)
@@ -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;