summaryrefslogtreecommitdiffhomepage
path: root/tcp-accept.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp-accept.c')
-rw-r--r--tcp-accept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp-accept.c b/tcp-accept.c
index 6578d71..3911c7c 100644
--- a/tcp-accept.c
+++ b/tcp-accept.c
@@ -123,7 +123,7 @@ int listen_tcpfwd(struct TCPListener* tcpinfo, struct Listener **ret_listener) {
/* first we try to bind, so don't need to do so much cleanup on failure */
snprintf(portstring, sizeof(portstring), "%u", tcpinfo->listenport);
- nsocks = dropbear_listen(tcpinfo->listenaddr, portstring, socks,
+ nsocks = dropbear_listen(tcpinfo->listenaddr, portstring, NULL, socks,
DROPBEAR_MAX_SOCKS, &errstring, &ses.maxfd);
if (nsocks < 0) {
dropbear_log(LOG_INFO, "TCP forward failed: %s", errstring);