mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
fix OSPF lifetime interval
This commit is contained in:
@@ -282,7 +282,7 @@ ospf_lsa_lifetime(ospf_lsa_s *lsa)
|
||||
if(lsa->age < OSPF_LSA_MAX_AGE) {
|
||||
sec = OSPF_LSA_MAX_AGE - lsa->age;
|
||||
timer_add(&g_ctx->timer_root, &lsa->timer_lifetime,
|
||||
"OSPF LIFETIME", sec, 6,
|
||||
"OSPF LIFETIME", sec, 0,
|
||||
lsa, &ospf_lsa_lifetime_job);
|
||||
} else {
|
||||
lsa->expired = true;
|
||||
|
||||
Reference in New Issue
Block a user