summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-10 23:19:13 +0200
committerhasso <hasso>2004-09-10 23:19:13 +0200
commit13c48f728080ebe3b20252e124f42f85d240770b (patch)
tree685efc1bedf96153eaee42a9ed4c1dfce44c78ca /isisd/isis_lsp.c
parentIndentation only. No any functional changes. (diff)
downloadfrr-13c48f728080ebe3b20252e124f42f85d240770b.tar.xz
frr-13c48f728080ebe3b20252e124f42f85d240770b.zip
Fixes from LIU Xin.
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index 214b438c1..677e2c3a2 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -2087,6 +2087,8 @@ lsp_l1_refresh_pseudo (struct thread *thread)
if (!circuit->u.bc.is_dr[0])
return ISIS_ERROR; /* FIXME: purge and such */
+ circuit->u.bc.t_refresh_pseudo_lsp[0] = NULL;
+
retval = lsp_pseudo_regenerate (circuit, 1);
ref_time = circuit->area->lsp_refresh[0] > MAX_LSP_GEN_INTERVAL ?
@@ -2145,6 +2147,8 @@ lsp_l2_refresh_pseudo (struct thread *thread)
if (!circuit->u.bc.is_dr[1])
return ISIS_ERROR; /* FIXME: purge and such */
+ circuit->u.bc.t_refresh_pseudo_lsp[1] = NULL;
+
retval = lsp_pseudo_regenerate (circuit, 2);
ref_time = circuit->area->lsp_refresh[1] > MAX_LSP_GEN_INTERVAL ?
@@ -2211,6 +2215,7 @@ lsp_tick (struct thread *thread)
area = THREAD_ARG (thread);
assert (area);
+ area->t_tick = NULL;
THREAD_TIMER_ON (master, area->t_tick, lsp_tick, area, 1);
/*