mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Clarify resource dumps and include them in the main debugging dump.
This commit is contained in:
@@ -95,9 +95,8 @@ proto_new(struct proto_config *c, unsigned size)
|
||||
static void
|
||||
proto_init_instance(struct proto *p)
|
||||
{
|
||||
struct proto_config *c = p->cf;
|
||||
|
||||
p->pool = rp_new(proto_pool, c->name);
|
||||
/* Here we cannot use p->cf->name since it won't survive reconfiguration */
|
||||
p->pool = rp_new(proto_pool, p->proto->name);
|
||||
p->attn = ev_new(p->pool);
|
||||
p->attn->data = p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user