diff options
author | paul <paul> | 2002-12-13 21:07:36 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 21:07:36 +0000 |
commit | 210b4dce34b39d96d68990c6461c9981e2d17630 (patch) | |
tree | 608a97278a06831ccbc1f9ce582f1bf4a27e6b39 /ospfd | |
parent | b1189ba0a31d9b4bf4d446d44b22e590d92d5e89 (diff) | |
download | quagga-patch.z14631.ptp.rfc3021.tar.bz2 quagga-patch.z14631.ptp.rfc3021.tar.xz |
[zebra 14631] Generic PtP and RFC3021 interface addressing supportpatch.z14631.ptp.rfc3021
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_snmp.c | 2 | ||||
-rw-r--r-- | ospfd/ospfd.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c index 6187977e..4ed0ecd3 100644 --- a/ospfd/ospf_snmp.c +++ b/ospfd/ospf_snmp.c @@ -1413,7 +1413,7 @@ ospf_snmp_if_update (struct interface *ifp) /* Lookup first IPv4 address entry. */ LIST_LOOP (ifp->connected, ifc, nn) { - if (if_is_pointopoint (ifp)) + if (ifc_pointopoint (ifc)) p = ifc->destination; else p = ifc->address; diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index e8bd360b..19bc1e53 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -699,17 +699,17 @@ ospf_network_run (struct ospf *ospf, struct prefix *p, struct ospf_area *area) struct connected *co = getdata (cn); struct prefix *addr; - if (if_is_pointopoint (ifp)) + if (ifc_pointopoint (co)) addr = co->destination; else addr = co->address; if (p->family == co->address->family && ! ospf_if_is_configured (&(addr->u.prefix4))) - if ((if_is_pointopoint (ifp) && + if ((ifc_pointopoint (co) && IPV4_ADDR_SAME (&(addr->u.prefix4), &(p->u.prefix4))) || prefix_match (p, addr)) - { + { struct ospf_interface *oi; oi = ospf_if_new (ifp, co->address); |