mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 07:31:54 +00:00
BGP: End route refresh before another starts
This commit is contained in:
parent
3fd1f46184
commit
44dbedbe3f
@ -971,6 +971,9 @@ bgp_refresh_begin(struct bgp_channel *c)
|
||||
if (c->load_state == BFS_LOADING)
|
||||
{ log(L_WARN "%s: BEGIN-OF-RR received before END-OF-RIB, ignoring", p->p.name); return; }
|
||||
|
||||
if (c->load_state == BFS_REFRESHING)
|
||||
channel_refresh_end(&c->c);
|
||||
|
||||
c->load_state = BFS_REFRESHING;
|
||||
channel_refresh_begin(&c->c);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user