]> 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:56 +0000 (14:00 +0000)
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
(cherry picked from commit d733fe2c048cd75948d9f30ced77ed828e92ee18)

ospfd/ospf_vty.c

index ab9409d1874a990af51fe661528e9da75ae48ebb..f6900d5fa486ae94c0acda19c38c8119a920e846 100644 (file)
@@ -8138,6 +8138,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;
 }