diff options
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index f142a77d..07601302 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -71,10 +71,12 @@ static void proto_start(struct proto *p) { rem_node(&p->n); + p->state = PRS_STARTING; if (p->start) p->start(p); if_feed_baby(p); rt_feed_baby(p); + p->state = PRS_UP; add_tail(&proto_list, &p->n); } |