Mercurial > dropbear
diff svr-tcpfwd.c @ 1032:0da8ba489c23 fastopen
Move generic network routines to netio.c
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 20 Feb 2015 23:16:38 +0800 |
parents | 02baa0b334e8 |
children | c45d65392c1a |
line wrap: on
line diff
--- a/svr-tcpfwd.c Fri Feb 20 22:13:53 2015 +0800 +++ b/svr-tcpfwd.c Fri Feb 20 23:16:38 2015 +0800 @@ -33,6 +33,7 @@ #include "listener.h" #include "runopts.h" #include "auth.h" +#include "netio.h" #ifndef ENABLE_SVR_REMOTETCPFWD @@ -236,7 +237,6 @@ unsigned char* orighost = NULL; unsigned int origport; char portstring[NI_MAXSERV]; - int sock; int len; int err = SSH_OPEN_ADMINISTRATIVELY_PROHIBITED;