2003-10-27 Simon <lists@routemeister.net>

        * ospfd/ospfd.c: if_is_pointopoint() takes (struct interface *), was
          being called with struct connected. Change to co->ifp.
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index ff9f634..50cb49b 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -714,7 +714,7 @@
    *   PtP special case: network specified == iface peer addr -> ospf
    */
   return (
-          ((if_is_pointopoint (co) && 
+          ((if_is_pointopoint (co->ifp) && 
             IPV4_ADDR_SAME ( &(co->destination->u.prefix4), &(net->u.prefix4)))
    		  || prefix_match (net, co->address)) 
   		  ? 1 : 0
@@ -756,7 +756,7 @@
           if (CHECK_FLAG(co->flags,ZEBRA_IFA_SECONDARY))
             continue;
 
-	  if (if_is_pointopoint (co))
+	  if (if_is_pointopoint (co->ifp))
 	    addr = co->destination;
 	  else 
 	    addr = co->address;