Turn TCPFwdEntry's connectaddr and listenaddr attributes into char *

This commit is contained in:
Gaël PORTAY 2015-05-02 23:54:06 +02:00
parent bbaeb917ff
commit e3c6a86b1e

View File

@ -48,9 +48,9 @@ struct TCPListener {
/* A forwarding entry */
struct TCPFwdEntry {
const unsigned char* connectaddr;
const char *connectaddr;
unsigned int connectport;
const unsigned char* listenaddr;
const char *listenaddr;
unsigned int listenport;
unsigned int have_reply; /* is set to 1 after a reply has been received
when setting up the forwarding */