diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-20 23:16:38 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-20 23:16:38 +0800 |
commit | 364a53577eb33f20bed877fc5d4a54de829707d8 (patch) | |
tree | 3006ce1d1a77e50fbb679cd4a8a454423f66d350 /svr-tcpfwd.c | |
parent | 1b1997bf2da9322c526ec1da4358aae94f7de06e (diff) |
Move generic network routines to netio.c
--HG--
branch : fastopen
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r-- | svr-tcpfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index 8f364b5..b3928bc 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -33,6 +33,7 @@ #include "listener.h" #include "runopts.h" #include "auth.h" +#include "netio.h" #ifndef ENABLE_SVR_REMOTETCPFWD @@ -236,7 +237,6 @@ static int newtcpdirect(struct Channel * channel) { unsigned char* orighost = NULL; unsigned int origport; char portstring[NI_MAXSERV]; - int sock; int len; int err = SSH_OPEN_ADMINISTRATIVELY_PROHIBITED; |