Check for expired timers even when receiving no events.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
ae7d3c9fca
commit
500eb6e594
3 changed files with 49 additions and 26 deletions
5
l2tpns.c
5
l2tpns.c
|
|
@ -3769,6 +3769,11 @@ static void mainloop(void)
|
|||
more++;
|
||||
}
|
||||
}
|
||||
#ifdef BGP
|
||||
else
|
||||
/* no event received, but timers could still have expired */
|
||||
bgp_process_peers_timers();
|
||||
#endif /* BGP */
|
||||
|
||||
if (time_changed)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue