Mercurial > dropbear
changeset 1547:2c902644036d
avoid warning about port
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Feb 2018 23:12:02 +0800 |
parents | d1a8a05216ff |
children | 10dd3df31d5b |
files | svr-tcpfwd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/svr-tcpfwd.c Mon Feb 26 22:42:53 2018 +0800 +++ b/svr-tcpfwd.c Mon Feb 26 23:12:02 2018 +0800 @@ -86,7 +86,7 @@ } 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) {