summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2024-05-07 09:58:29 -0400
committerGitHub <noreply@github.com>2024-05-07 09:58:29 -0400
commit5fe0c5923ba6531bf55961d827c1ca93ebd2f5f5 (patch)
tree9b956f8ca496f0677ff065703991b3f0fc74535b /ospfd
parent827badc53c3f6d199da40806254bbe1a01a6c825 (diff)
parentd733fe2c048cd75948d9f30ced77ed828e92ee18 (diff)
Merge pull request #15846 from Shbinging/fix_ip_ospf_dead_interval_fast_hello
ospfd: fix the bug where ip_ospf_dead-interval_minimal_hello-multiplier did not reset hello timer
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 3f8731f369..301320bb0a 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;
}