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
commit364a53577eb33f20bed877fc5d4a54de829707d8 (patch)
tree3006ce1d1a77e50fbb679cd4a8a454423f66d350 /svr-tcpfwd.c
parent1b1997bf2da9322c526ec1da4358aae94f7de06e (diff)
downloaddropbear-364a53577eb33f20bed877fc5d4a54de829707d8.tar.gz
Move generic network routines to netio.c
--HG-- branch : fastopen
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;