diff options
author | Martin Mares <mj@ucw.cz> | 2004-06-01 00:00:18 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-06-01 00:00:18 +0200 |
commit | ea0ac8f69aec4eff8109eb3d74cc0ca5a330fa58 (patch) | |
tree | 145a98d0f57f64c898a36c0387e2d30266e8f2d4 | |
parent | 38a608c55af7654f23c9a16129ab6211aac3b7ab (diff) | |
download | bird-ea0ac8f69aec4eff8109eb3d74cc0ca5a330fa58.tar bird-ea0ac8f69aec4eff8109eb3d74cc0ca5a330fa58.zip |
Move CLI socket to the newly created CLI's pool.
(thanks to Andreas for the original idea)
-rw-r--r-- | sysdep/unix/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 2479cd6..5315bfe 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -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; } |