summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorManoj Naragund <mnaragund@vmware.com>2022-08-26 09:58:37 +0200
committerManoj Naragund <mnaragund@vmware.com>2022-09-01 08:10:09 +0200
commitb345a3d9b49e9921863f93ba2ee5ed9b43763294 (patch)
tree93adc0a0f122697bae01b3cc3ff93349de512c42 /ospfd/ospfd.c
parentMerge pull request #11860 from opensourcerouting/fix/evpn_cli_json (diff)
downloadfrr-b345a3d9b49e9921863f93ba2ee5ed9b43763294.tar.xz
frr-b345a3d9b49e9921863f93ba2ee5ed9b43763294.zip
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 8512b6a33..e0c36d86f 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);