summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorBing Shui <652023330037@smail.nju.edu.cn>2024-04-25 16:02:26 +0000
committerBing Shui <652023330037@smail.nju.edu.cn>2024-04-30 12:07:11 +0000
commitd733fe2c048cd75948d9f30ced77ed828e92ee18 (patch)
tree09271aed66d582dd475d53db96c275d55c716eac /ospfd
parenta6040ba1f5adf7135bb75e8797d59b15a1c7f974 (diff)
ospfd:fix the bug where ip_ospf_dead-interval_minimal_hello-multiplier did not reset hello timer
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
Diffstat (limited to 'ospfd')
-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 e2f4f64d81..0f5efa3208 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -8208,6 +8208,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;
}