Turn sendaddr, listenaddr and request_listenaddr local variables into char *

This commit is contained in:
Gaël PORTAY 2015-05-02 15:09:05 +02:00
parent 1601a657d4
commit 61726df20c

View File

@ -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;