summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhou-run <166502045+zhou-run@users.noreply.github.com>2024-04-09 14:59:22 +0200
committerGitHub <noreply@github.com>2024-04-09 14:59:22 +0200
commitf9b1067bf1d68ab0eeca60b60cf878269753c23f (patch)
tree64dd5b73e53a906ce2014268891487fc0f03d9c3
parentMerge pull request #15703 from louis-6wind/add-linkbw-diagram (diff)
downloadfrr-f9b1067bf1d68ab0eeca60b60cf878269753c23f.tar.xz
frr-f9b1067bf1d68ab0eeca60b60cf878269753c23f.zip
isisd: The hold time of hello packets on a P2P link does not match the sending interval.
The hold time filled in the hello packets of a P2P link is calculated based on the level 1 configuration, while the hello timer is based on the level 2 configuration. If the hello interval times in level 1 and level 2 configurations are inconsistent, it may lead to neighbor establishment failure. Signed-off-by: zhou-run <166502045+zhou-run@users.noreply.github.com>
-rw-r--r--isisd/isis_pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
index 6f410d342..5be317018 100644
--- a/isisd/isis_pdu.c
+++ b/isisd/isis_pdu.c
@@ -2082,7 +2082,7 @@ static void send_hello_cb(struct event *thread)
circuit->u.p2p.t_send_p2p_hello = NULL;
send_hello(circuit, 1);
send_hello_sched(circuit, ISIS_LEVEL1,
- 1000 * circuit->hello_interval[1]);
+ 1000 * circuit->hello_interval[0]);
return;
}