mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 15:24:53 +00:00
bgpd: Fix for commit 6a4677b7, fixes BZ#729
The timers are rearmed after events processing. After 6a4677b7 we
do not generate events that can rearm the holdtime timer.
Fix it's to call bgp_timer_set() directly as it's done from bgp_event().
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Tested-by: Martin Winter <mwinter@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
c9e4f86236
commit
e2c38e6c97
@ -1854,8 +1854,9 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
|
||||
peer->update_in++;
|
||||
peer->update_time = bgp_clock ();
|
||||
|
||||
/* Cancel holdtime timer */
|
||||
/* Rearm holdtime timer */
|
||||
BGP_TIMER_OFF (peer->t_holdtime);
|
||||
bgp_timer_set (peer);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user