summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 09:13:55 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 09:13:55 +0100
commiteeec9ddbf2a3536417c6dd434da9a7dd2bbdaa42 (patch)
tree9dd18398952d50963d0e18395a7f84357ab1b936 /proto/ospf/ospf.c
parentc78247f9b97802d6fe76d9b7cddf2c1940134d33 (diff)
parent0c59f7ff0112abd1261afb8f21b7c00fc5e37885 (diff)
Merge commit '0c59f7ff' into haugesund
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index ba8c2e2b..ebebf0ff 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -558,6 +558,9 @@ ospf_shutdown(struct proto *P)
}
FIB_WALK_END;
+ if (tm_active(p->disp_timer))
+ tm_stop(p->disp_timer);
+
return PS_DOWN;
}