summaryrefslogtreecommitdiff
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-02 15:09:05 +0200
commit9f8b3d1a03ae9e8f9d843cda63552ca0d5df3349 (patch)
tree5eff0484ef0dca6b848822075e7008aaa6eb2bbe /tcpfwd.h
parent5ce22ced6dd37f520e25e0e27ca13cbf05d36d97 (diff)
downloaddropbear-9f8b3d1a03ae9e8f9d843cda63552ca0d5df3349.tar.gz
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;