Commit 7ce144f2 authored by Niels Möller's avatar Niels Möller
Browse files

* src/tcpforward_commands.c (new_tcpip_channel): Register the fd

on the channel's resources list.

Rev: src/tcpforward_commands.c:1.14
parent e9e61b1a
......@@ -140,11 +140,11 @@ new_tcpip_channel(struct channel_open_command *c,
debug("tcpforward_commands.c: new_tcpip_channel()\n");
REMEMBER_RESOURCE(connection->resources, &self->peer->fd->super.super);
channel = make_tcpip_channel(self->peer->fd, TCPIP_WINDOW_SIZE);
channel->write = connection->write;
REMEMBER_RESOURCE(channel->resources, &self->peer->fd->super.super);
*request = prepare_channel_open(connection, self->type,
channel,
"%S%i%S%i",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment