summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index 569d59d..504a8d3 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -47,7 +47,7 @@ struct TCPListener {
/* A link in a list of forwards */
struct TCPFwdList {
- char* connectaddr;
+ const unsigned char* connectaddr;
unsigned int connectport;
unsigned int listenport;
struct TCPFwdList * next;
@@ -60,6 +60,7 @@ extern const struct ChanType svr_chan_tcpdirect;
/* Client */
void setup_localtcp();
+void setup_remotetcp();
extern const struct ChanType cli_chan_tcpremote;
/* Common */