diff options
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index e4214ea..4c69227 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -248,6 +248,7 @@ protos_commit(struct config *new, struct config *old, int force_reconfig) { DBG("\t%s: same\n", oc->name); p->cf = nc; + p->name = nc->name; nc->proto = p; continue; } @@ -372,6 +373,9 @@ protos_build(void) #ifdef CONFIG_OSPF add_tail(&protocol_list, &proto_ospf.n); #endif +#ifdef CONFIG_PIPE + add_tail(&protocol_list, &proto_pipe.n); +#endif proto_pool = rp_new(&root_pool, "Protocols"); proto_flush_event = ev_new(proto_pool); proto_flush_event->hook = proto_flush_all; |