(to avoid the name being freed with the old config).
Also remember to add proto_pipe to protocol_list.
{
DBG("\t%s: same\n", oc->name);
p->cf = nc;
+ p->name = nc->name;
nc->proto = p;
continue;
}
#endif
#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);