[ospf6d] GNU Zebra 3560: Call ospf6_maxage_remove when out of Exchange/Loading
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.
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c
index 017da52..fbda675 100644
--- a/ospf6d/ospf6_message.c
+++ b/ospf6d/ospf6_message.c
@@ -1119,11 +1119,11 @@
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);
}