+2005-10-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
+
+ * ospf6_neighbor.c: add the calling of ospf6_maxage_remove ()
+ when the neighbor went out of Exchange/Loading.
+
2005-10-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
* ospf6_asbr.c: fix bug of calculating AS-External routes
zlog_debug ("Acknowledged, remove from %s's retrans-list",
on->name);
+ ospf6_decrement_retrans_count (mine);
+ ospf6_lsdb_remove (mine, on->retrans_list);
if (OSPF6_LSA_IS_MAXAGE (mine))
ospf6_maxage_remove (on->ospf6_if->area->ospf6);
- ospf6_decrement_retrans_count (mine);
- ospf6_lsdb_remove (mine, on->retrans_list);
ospf6_lsa_delete (his);
}
OSPF6_INTRA_PREFIX_LSA_SCHEDULE_STUB (on->ospf6_if->area);
}
-#ifdef XXX
- if (prev_state == NBS_FULL || next_state == NBS_FULL)
- nbs_full_change (on->ospf6_interface);
-
- /* check for LSAs that already reached MaxAge */
if ((prev_state == OSPF6_NEIGHBOR_EXCHANGE ||
prev_state == OSPF6_NEIGHBOR_LOADING) &&
(next_state != OSPF6_NEIGHBOR_EXCHANGE &&
next_state != OSPF6_NEIGHBOR_LOADING))
- {
- ospf6_maxage_remover ();
- }
-#endif /*XXX*/
-
+ ospf6_maxage_remove (on->ospf6_if->area->ospf6);
}
/* RFC2328 section 10.4 */