mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
BGP: Enhanced route refresh (RFC 7313) support
Also hook feed_done is renamed to feed_end.
This commit is contained in:
@@ -942,8 +942,8 @@ proto_feed_more(void *P)
|
||||
p->export_state = ES_READY;
|
||||
proto_log_state_change(p);
|
||||
|
||||
if (p->feed_done)
|
||||
p->feed_done(p);
|
||||
if (p->feed_end)
|
||||
p->feed_end(p);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -976,6 +976,9 @@ proto_schedule_feed(struct proto *p, int initial)
|
||||
|
||||
p->attn->hook = initial ? proto_feed_initial : proto_feed_more;
|
||||
ev_schedule(p->attn);
|
||||
|
||||
if (p->feed_begin)
|
||||
p->feed_begin(p, initial);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user