From 31a476c7e9014aa81dc0d50b4100431ab111bf3f Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 29 Sep 2003 19:54:53 +0000 Subject: 2003-09-29 Paul Jakma * zebra/connected.c: revert the 'generic PtP' patch as it causes far too many problems. People who use FreeSWAN should investigate native linux ipsec. * zebra/rt_netlink.c: ditto * lib/if.c: ditto * ripd/ripd.h: ditto * ripd/ripd.c: ditto * ripd/rip_interface.c: ditto * ospfd/ospfd.c: ditto * ospfd/ospf_snmp.c: ditto * bgpd/bgp_nexthop.c: ditto --- ospfd/ospfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ospfd/ospfd.c') diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index aeae8e13..77bb6a47 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -714,7 +714,7 @@ ospf_network_match_iface(struct connected *co, struct prefix *net) * PtP special case: network specified == iface peer addr -> ospf */ return ( - ((ifc_pointopoint (co) && + ((if_is_pointopoint (co) && IPV4_ADDR_SAME ( &(co->destination->u.prefix4), &(net->u.prefix4))) || prefix_match (net, co->address)) ? 1 : 0 @@ -756,7 +756,7 @@ ospf_network_run (struct ospf *ospf, struct prefix *p, struct ospf_area *area) if (CHECK_FLAG(co->flags,ZEBRA_IFA_SECONDARY)) continue; - if (ifc_pointopoint (co)) + if (if_is_pointopoint (co)) addr = co->destination; else addr = co->address; -- cgit v1.2.1