+2005-06-24 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
+
+ * ospf6_interface.c: fix the way inactivity_timer is called. Because
+ inactivity_timer() deletes the neighbor from the neighbor_list, it
+ cannot be called by thread_execute() from inner side of the
+ neighbor_list for-loop.
+
2005-05-31 Hasso Tepper <hasso at quagga.net>
* ospf6d.c: No need for double ';'. Fixes parsing "show ipv6 ospf6
for (ALL_LIST_ELEMENTS (oi->neighbor_list, node, nnode, on))
{
THREAD_OFF (on->inactivity_timer);
- thread_execute (master, inactivity_timer, on, 0);
+ thread_add_event (master, inactivity_timer, on, 0);
}
return CMD_SUCCESS;
for (ALL_LIST_ELEMENTS (oi->neighbor_list, node, nnode, on))
{
THREAD_OFF (on->inactivity_timer);
- thread_execute (master, inactivity_timer, on, 0);
+ thread_add_event (master, inactivity_timer, on, 0);
}
return CMD_SUCCESS;
for (ALL_LIST_ELEMENTS (oi->neighbor_list, node, nnode, on))
{
THREAD_OFF (on->inactivity_timer);
- thread_execute (master, inactivity_timer, on, 0);
+ thread_add_event (master, inactivity_timer, on, 0);
}
return CMD_SUCCESS;