summaryrefslogtreecommitdiff
path: root/svr-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-20 23:16:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-20 23:16:38 +0800
commitc7b7e89f7568626e4f2ce59b24636df31667fa64 (patch)
tree3bcaecf65e2afa1cbe41d70824fb93dc080868ee /svr-tcpfwd.c
parentdef06d6af9403251e6f4cd1ee3700b8906d42ed5 (diff)
downloaddropbear-c7b7e89f7568626e4f2ce59b24636df31667fa64.tar.gz
Move generic network routines to netio.c
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r--svr-tcpfwd.c2
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;