changeset 1116:3d9519ec2b85

Turn TCPFwdEntry's connectaddr and listenaddr attributes into char *
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 23:54:06 +0200
parents efb7e545a65e
children 6b6ed65e99b1
files tcpfwd.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tcpfwd.h	Sat May 02 23:48:57 2015 +0200
+++ b/tcpfwd.h	Sat May 02 23:54:06 2015 +0200
@@ -48,9 +48,9 @@
 
 /* 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 */