summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-02 23:54:06 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:39:14 +0200
commite3c6a86b1e458bd4abb592ddd14ca10fd0893dbd (patch)
treec3471cb530c99f4f2129749404cdcf128e2bbd47 /tcpfwd.h
parentbbaeb917ffb15cb3e002466c87790837387d3320 (diff)
Turn TCPFwdEntry's connectaddr and listenaddr attributes into char *
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcpfwd.h b/tcpfwd.h
index cd04fcd..64139f0 100644
--- a/tcpfwd.h
+++ b/tcpfwd.h
@@ -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 */