Skip to content

Commit

Permalink
isisd: The hold time of hello packets on a P2P link does not match th…
Browse files Browse the repository at this point in the history
…e 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>
  • Loading branch information
zhou-run authored Apr 9, 2024
1 parent 48805d6 commit f9b1067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isisd/isis_pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f9b1067

Please sign in to comment.