slist lsal; /* List of all LSA's */
int calcrt; /* Routing table calculation scheduled?
0=no, 1=normal, 2=forced reload */
- struct channel_import_request *cir; /* Struct with trie for partial reload */
list iface_list; /* List of OSPF interfaces (struct ospf_iface) */
list area_list; /* List of OSPF areas (struct ospf_area) */
int areano; /* Number of area I belong to */
rt_sync(p);
lp_flush(p->nhpool);
- if (p->cir == NULL) /* If there is no more cir waiting for reload */
- p->calcrt = 0;
+ p->calcrt = 0;
}
OSPF_TRACE(D_EVENTS, "Starting routing table synchronization");
- struct channel_import_request *cir = p->cir;
- p->cir = NULL;
-
DBG("Now syncing my rt table with nest's\n");
FIB_ITERATE_INIT(&fit, fib);
again1:
FIB_ITERATE_START(fib, &fit, ort, nf)
{
- if (cir && !channel_import_request_prefilter(cir, nf->fn.addr))
- continue;
/* Sanity check of next-hop addresses, failure should not happen */
if (nf->n.type && nf->n.nhs)
{
}
FIB_ITERATE_END;
- while(cir)
- {
- struct channel_import_request *next = cir->next;
- cir->done(cir);
- cir = next;
- }
-
WALK_LIST(oa, p->area_list)
{
/* Cleanup ASBR hash tables */