summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorManoj Naragund <mnaragund@vmware.com>2022-08-26 00:58:37 -0700
committerManoj Naragund <mnaragund@vmware.com>2022-08-31 23:10:09 -0700
commitb345a3d9b49e9921863f93ba2ee5ed9b43763294 (patch)
tree93adc0a0f122697bae01b3cc3ff93349de512c42 /ospfd/ospfd.c
parent0824a0020d94ddf0aafb4f6521f911dadba3fc04 (diff)
ospfd: Added clis to change default timers for LSA refresh and maxage remove delay.
Description: Added hidden clis that will allow you to reset the default timers for LSA refresh and LSA maxage remove delay, these will help in testing LSA refresh scenarios in upcoming OSPFv2 Flood reduction feature(rfc4136). IETF Link : https://datatracker.ietf.org/doc/html/rfc4136 Signed-off-by: Manoj Naragund <mnaragund@vmware.com>
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 8512b6a339..e0c36d86fe 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -392,6 +392,7 @@ struct ospf *ospf_new_alloc(unsigned short instance, const char *name)
new->lsa_refresh_queue.index = 0;
new->lsa_refresh_interval = OSPF_LSA_REFRESH_INTERVAL_DEFAULT;
+ new->lsa_refresh_timer = OSPF_LS_REFRESH_TIME;
new->t_lsa_refresher = NULL;
thread_add_timer(master, ospf_lsa_refresh_walker, new,
new->lsa_refresh_interval, &new->t_lsa_refresher);