]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd:fix the bug where ip_ospf_dead-interval_minimal_hello-multiplier did not reset...
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 14:00:00 +0000 (14:00 +0000)
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
(cherry picked from commit d733fe2c048cd75948d9f30ced77ed828e92ee18)

ospfd/ospf_vty.c

index 52e9cbcfbf4ddcd53a0081d0862627904de52b71..da25bfec887156831a8312341a2f007f7432561d 100644 (file)
@@ -8042,6 +8042,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;
 }