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>
This commit is contained in:
zhou-run 2024-04-09 20:59:22 +08:00 committed by GitHub
parent 48805d617b
commit f9b1067bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}