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;