mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-02 20:31:54 +00:00
![]() When the detection time expires, we put the session down and restart the timer. As the comment in the code says, it's needed to zero the remote discriminator after the second expiration. But the RFC clearly says that this must be done on the first expiration: bfd.RemoteDiscr The remote discriminator for this BFD session. This is the discriminator chosen by the remote system, and is totally opaque to the local system. This MUST be initialized to zero. If a period of a Detection Time passes without the receipt of a valid, authenticated BFD packet from the remote system, this variable MUST be set to zero. And we actually already do it in `ptm_bfd_sess_dn`, so there's no need to reset the timer and wait for it twice. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bfd_packet.c | ||
bfd.c | ||
bfd.h | ||
bfdctl.h | ||
bfdd_cli.c | ||
bfdd_nb_config.c | ||
bfdd_nb_state.c | ||
bfdd_nb.c | ||
bfdd_nb.h | ||
bfdd_vty.c | ||
bfdd.c | ||
bfddp_packet.h | ||
config.c | ||
control.c | ||
dplane.c | ||
event.c | ||
Makefile | ||
ptm_adapter.c | ||
subdir.am |