diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2015-03-29 18:27:13 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-03-29 18:29:49 +0200 |
commit | 9aed29e605334d34d0e6a90fc172ee83d0274ad3 (patch) | |
tree | 349b424464aef43726f410d80e070f8955782a58 /nest/proto.c | |
parent | a5a5a41e2ee51ad6dfef0ab24e07d6d9b16a4215 (diff) |
BGP: Enhanced route refresh (RFC 7313) support
Also hook feed_done is renamed to feed_end.
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c index 7339e4f4..44cfb637 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -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); } /* |