mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58:44 +00:00
Bugfix
This commit is contained in:
parent
1e739986c2
commit
1a33e79f22
@ -1322,16 +1322,14 @@ aggregator_rt_notify(struct proto *P, struct channel *src_ch, net *net, rte *new
|
|||||||
assert(p->root == NULL);
|
assert(p->root == NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Don't kick settle timer during first run. That would cause
|
* Don't kick settle timer during initial feed. That would cause
|
||||||
* repeated calls to rt_notify() without any new updates.
|
* cyclic calls to rt_notify() without receiving any new updates.
|
||||||
*/
|
*/
|
||||||
if (!p->first_run)
|
if (!p->first_run)
|
||||||
{
|
{
|
||||||
log("rt notify: kick");
|
log("rt notify: kick");
|
||||||
settle_kick(&p->notify_settle);
|
settle_kick(&p->notify_settle);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Find the objects for the old route */
|
/* Find the objects for the old route */
|
||||||
@ -1584,7 +1582,7 @@ trie_init(struct aggregator_proto *p)
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Hash tables are initialized in aggregator_start() before the first run.
|
* Hash tables are initialized in aggregator_start() before the first run.
|
||||||
* They are initialized here for subsequent runs.
|
* They are initialized here for all subsequent runs.
|
||||||
*/
|
*/
|
||||||
if (!p->first_run)
|
if (!p->first_run)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user