]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd:fix the bug where ip_ospf_dead-interval_minimal_hello-multiplier did not reset... 15952/head
authorBing Shui <652023330037@smail.nju.edu.cn>
Thu, 25 Apr 2024 16:02:26 +0000 (16:02 +0000)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 May 2024 13:59:24 +0000 (13:59 +0000)
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
(cherry picked from commit d733fe2c048cd75948d9f30ced77ed828e92ee18)

ospfd/ospf_vty.c

index 93dd12ce4979a5034e1aad4c13508ef29212048d..131a9c7b513e910f4ded561a041ddf8fac07dade 100644 (file)
@@ -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;
 }