1
0
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:
Ondrej Zajicek
2015-03-29 18:27:13 +02:00
parent a5a5a41e2e
commit 9aed29e605
7 changed files with 278 additions and 42 deletions

View File

@@ -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);
}
/*