Mercurial > dropbear
diff tcpfwd.h @ 1620:572a7aefa188 bugfix
FIx remote forward listeners
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 07 Sep 2018 23:02:20 +0800 |
parents | 9169e4e7cbee |
children | 1d86a58fb52d |
line wrap: on
line diff
--- a/tcpfwd.h Thu Aug 23 23:59:24 2018 +0800 +++ b/tcpfwd.h Fri Sep 07 23:02:20 2018 +0800 @@ -26,6 +26,7 @@ #include "channel.h" #include "list.h" +#include "listener.h" struct TCPListener { @@ -69,7 +70,7 @@ 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 */