summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-02 22:19:47 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-02 22:19:47 +0100
commit11361a101517c2c87e3d35d2c63cacb3ddb97724 (patch)
tree638b0cea90fd08851e9b3b6cb794d14babcf84fe /nest/proto.c
parent11787b8473ae1685d43dad809592fabc64eb8f46 (diff)
Implements route re-feed.
This can be used to re-feed routes to protocol after soft change in export filters.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index c531d869..bdac4bf6 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -585,6 +585,7 @@ proto_schedule_feed(struct proto *p, int initial)
{
DBG("%s: Scheduling meal\n", p->name);
p->core_state = FS_FEEDING;
+ p->refeeding = !initial;
proto_relink(p);
p->attn->hook = initial ? proto_feed_initial : proto_feed_more;
ev_schedule(p->attn);