diff options
-rw-r--r-- | netio.c | 2 | ||||
-rw-r--r-- | svr-tcpfwd.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -488,7 +488,7 @@ int dropbear_listen(const char* address, const char* port, * caller can do a get_socket_address to discover assigned-port * hence, use same port for all address families */ - u_int16_t *allocated_lport_p = 0; + u_int16_t *allocated_lport_p = NULL; int allocated_lport = 0; nsock = 0; diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index 16d0859..1fb94a7 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -95,7 +95,7 @@ void recv_msg_global_request_remotetcp() { buf_putint(ses.writepayload, allocated_listen_port); encrypt_packet(); wantreply = 0; //so out does not do so - } + } } else if (strcmp("cancel-tcpip-forward", reqname) == 0) { ret = svr_cancelremotetcp(); } else { |