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

ospfd/ospf_vty.c

index 740ecb518b1bde773bfc3b5f0e3eca1b933da420..24dc6f695665cbfb6b87f3220985e25c448ff629 100644 (file)
@@ -8266,6 +8266,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;
 }