diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-07-25 21:50:22 +0000 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-07-25 21:50:22 +0000 |
commit | 224a8c55e09a455feddbaf41f44a60683d72f37f (patch) | |
tree | 9a07a292ea8f1fafee4f1784d4006870fdf9b2d7 /tcp-accept.c | |
parent | 41d4b4e7f791825b8e5b2979e49bc0f5409380e9 (diff) |
WIP bindtodevicebindtodevice
Diffstat (limited to 'tcp-accept.c')
-rw-r--r-- | tcp-accept.c | 2 |
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); |