mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
avoid warning about port
This commit is contained in:
parent
3996e93a20
commit
96e1a7e6da
@ -86,7 +86,7 @@ void recv_msg_global_request_remotetcp() {
|
||||
}
|
||||
|
||||
if (strcmp("tcpip-forward", reqname) == 0) {
|
||||
int allocated_listen_port;
|
||||
int allocated_listen_port = 0;
|
||||
ret = svr_remotetcpreq(&allocated_listen_port);
|
||||
/* client expects-port-number-to-make-use-of-server-allocated-ports */
|
||||
if (DROPBEAR_SUCCESS == ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user