summaryrefslogtreecommitdiff
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
commit60e40ab5246ff04cace3838700ab17e2822f09a3 (patch)
tree0508676b768c8a66840ded635bc8ca8c82563540 /tcpfwd.h
parentc1537ba5aa50ba410a5e389345cdf765e912d6b3 (diff)
downloaddropbear-60e40ab5246ff04cace3838700ab17e2822f09a3.tar.gz
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 */