0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Move CLI socket to the newly created CLI's pool.

(thanks to Andreas for the original idea)
This commit is contained in:
Martin Mares 2004-05-31 22:00:18 +00:00
parent 38a608c55a
commit ea0ac8f69a

View File

@ -266,6 +266,7 @@ cli_connect(sock *s, int size)
s->pool = c->pool; /* We need to have all the socket buffers allocated in the cli pool */
c->rx_pos = c->rx_buf;
c->rx_aux = NULL;
rmove(s, c->pool);
return 1;
}