summaryrefslogtreecommitdiffhomepage
path: root/svr-tcpfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r--svr-tcpfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c
index c592afb..fc3f46e 100644
--- a/svr-tcpfwd.c
+++ b/svr-tcpfwd.c
@@ -285,7 +285,7 @@ static int newtcpdirect(struct Channel * channel) {
}
snprintf(portstring, sizeof(portstring), "%u", destport);
- channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel);
+ channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel, NULL);
channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;