1
0
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:
Martin Mares
1999-03-29 20:14:33 +00:00
parent 3f2a21fd34
commit 5bc512aa3a
4 changed files with 13 additions and 8 deletions

View File

@@ -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;
}