mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 03:53:38 +00:00
bfdd: apply new timers on on-going connections
Apply new timers when only one side is negotiating new settings: when sending the final bit we must apply the remote settings, otherwise we'll keep the previous transmission rate. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
33400b469e
commit
0c1af3e49f
@ -656,8 +656,13 @@ int bfd_recv_cb(struct thread *t)
|
|||||||
*
|
*
|
||||||
* RFC 5880, Section 6.5.
|
* RFC 5880, Section 6.5.
|
||||||
*/
|
*/
|
||||||
if (BFD_GETPBIT(cp->flags))
|
if (BFD_GETPBIT(cp->flags)) {
|
||||||
|
/* We are finalizing a poll negotiation. */
|
||||||
|
bs_final_handler(bfd);
|
||||||
|
|
||||||
|
/* Send the control packet with the final bit immediately. */
|
||||||
ptm_bfd_snd(bfd, 1);
|
ptm_bfd_snd(bfd, 1);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user