summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-02 15:09:05 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:39:13 +0200
commit61726df20cea04ff09bbfdf4ca77519cf4b9088d (patch)
tree9b7d280c2ee7c1df39b29ec51604866fb43b7da3 /tcpfwd.h
parent1601a657d4168a50949d14ae683a49e65986f51f (diff)
Turn sendaddr, listenaddr and request_listenaddr local variables into char *
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index 51a1575..cd04fcd 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -31,16 +31,16 @@ struct TCPListener {
/* For a direct-tcpip request, it's the addr/port we want the other
* end to connect to */
- unsigned char *sendaddr;
+ char *sendaddr;
unsigned int sendport;
/* This is the address/port that we listen on. The address has special
* meanings as per the rfc, "" for all interfaces, "localhost" for
* localhost, or a normal interface name. */
- unsigned char *listenaddr;
+ char *listenaddr;
unsigned int listenport;
/* The address that the remote host asked to listen on */
- unsigned char *request_listenaddr;
+ char *request_listenaddr;
const struct ChanType *chantype;
enum {direct, forwarded} tcp_type;