* ospfd/ospfd.c: if_is_pointopoint() takes (struct interface *), was
being called with struct connected. Change to co->ifp.
* 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
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;