summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-05-08 14:47:26 +0300
committerGitHub <noreply@github.com>2024-05-08 14:47:26 +0300
commitbd5f571b42850f84acb52ace6bb3562d3396f874 (patch)
treed9df05ef8516ca8d8a1648f2d08c46830cc1d5e5
parent7472bc5bca99ebc5a62149e96b23053a1e2214b3 (diff)
parentb0c7b88091619e3280d16c1b32a5f01f09ad35d3 (diff)
Merge pull request #15952 from FRRouting/mergify/bp/stable/10.0/pr-15846
ospfd: fix the bug where ip_ospf_dead-interval_minimal_hello-multiplier did not reset hello timer (backport #15846)
-rw-r--r--ospfd/ospf_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 23c7d0c1d0..4f30d5219d 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -8267,6 +8267,8 @@ static int ospf_vty_dead_interval_set(struct vty *vty, const char *interval_str,
ospf_nbr_timer_update(oi);
}
+ if (params->fast_hello != OSPF_FAST_HELLO_DEFAULT)
+ ospf_reset_hello_timer(ifp, addr, false);
return CMD_SUCCESS;
}