diff options
Diffstat (limited to 'ospfd/ospf_ase.c')
-rw-r--r-- | ospfd/ospf_ase.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c index b28626db..5605933b 100644 --- a/ospfd/ospf_ase.c +++ b/ospfd/ospf_ase.c @@ -155,7 +155,7 @@ ospf_ase_forward_address_check (struct ospf *ospf, struct in_addr fwd_addr) for (ifn = listhead (ospf->oiflist); ifn; nextnode (ifn)) if ((oi = getdata (ifn)) != NULL) - if (if_is_up (oi->ifp)) + if (if_is_operative (oi->ifp)) if (oi->type != OSPF_IFTYPE_VIRTUALLINK) if (IPV4_ADDR_SAME (&oi->address->u.prefix4, &fwd_addr)) return 0; @@ -644,6 +644,10 @@ ospf_ase_calculate_timer (struct thread *t) LSDB_LOOP (NSSA_LSDB (area), rn, lsa) ospf_ase_calculate_route (ospf, lsa); } + /* kevinm: And add the NSSA routes in ospf_top */ + LSDB_LOOP (NSSA_LSDB (ospf),rn,lsa) + ospf_ase_calculate_route(ospf,lsa); + #endif /* HAVE_NSSA */ /* Compare old and new external routing table and install the |