diff options
author | paul <paul> | 2002-12-13 21:07:36 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 21:07:36 +0000 |
commit | 00df0c1e80811f3cf5eca0b28e720bf1bcc84a53 (patch) | |
tree | d03bbabe82d8526b1f5472d38a59ed24f9c8c42b /ospfd/ospfd.c | |
parent | 8bd9c714365883e405af7c7c4257e404a1053469 (diff) |
[zebra 14631] Generic PtP and RFC3021 interface addressing support
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |