From 60e40ab5246ff04cace3838700ab17e2822f09a3 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 7 Sep 2018 23:02:20 +0800 Subject: FIx remote forward listeners --- tcpfwd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tcpfwd.h') diff --git a/tcpfwd.h b/tcpfwd.h index 3fce879..fa81fa4 100644 --- a/tcpfwd.h +++ b/tcpfwd.h @@ -26,6 +26,7 @@ #include "channel.h" #include "list.h" +#include "listener.h" struct TCPListener { @@ -69,7 +70,7 @@ void cli_recv_msg_request_success(void); void cli_recv_msg_request_failure(void); /* Common */ -int listen_tcpfwd(struct TCPListener* tcpinfo); +int listen_tcpfwd(struct TCPListener* tcpinfo, struct Listener **ret_listener); int tcp_prio_inithandler(struct Channel* chan); /* A random identifier */ -- cgit v1.2.1