From 12a5cae75ef639e416d82b88d887c5d77d279aa3 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 19 Sep 2004 19:39:26 +0000 Subject: Rework of SPF threads schedule logic. I'm not 100% sure whether it's right thing to do to have completely separate threads for IPv4 and IPv6 SPF though. But it works and it's now possible to have both IPv4 and IPv6 enabled in interface. One bug fixed in LSP regeneration scheduling as well. --- isisd/isis_lsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd/isis_lsp.c') diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 677e2c3a..d52efb6a 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -1895,7 +1895,7 @@ lsp_regenerate_schedule (struct isis_area *area) area->lsp_regenerate_pending[0] = 1; thread_add_timer (master, lsp_l1_regenerate, area, MIN_LSP_GEN_INTERVAL - diff); - return ISIS_OK; + goto L2; } else lsp_non_pseudo_regenerate (area, 1); -- cgit v1.2.1