summaryrefslogtreecommitdiffhomepage
path: root/tcpfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-09-07 23:02:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-09-07 23:02:20 +0800
commitd2e71ade726794d888e998eda0b094a70746160b (patch)
treeffc9270ec23e57c5bbf1915849a5b02bc8b746fc /tcpfwd.h
parente7504b33118f30e981195b6022b8ee61a58b2e45 (diff)
FIx remote forward listeners
Diffstat (limited to 'tcpfwd.h')
-rw-r--r--tcpfwd.h3
1 files changed, 2 insertions, 1 deletions
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 */