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 | c7b7e89f7568626e4f2ce59b24636df31667fa64 (patch) | |
tree | 3bcaecf65e2afa1cbe41d70824fb93dc080868ee /svr-tcpfwd.c | |
parent | def06d6af9403251e6f4cd1ee3700b8906d42ed5 (diff) | |
download | dropbear-c7b7e89f7568626e4f2ce59b24636df31667fa64.tar.gz |
Move generic network routines to netio.c
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; |