summaryrefslogtreecommitdiff
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-11-14 22:57:56 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-11-14 22:57:56 +0800
commit0457a76da104e49d0d3053ead9966655f633ff46 (patch)
treed0781a94f6f10e9c9b6ba0c48bd9d2b36030290b /cli-tcpfwd.c
parent8d38abefa1d8de996644e6891000821e0738ba54 (diff)
downloaddropbear-0457a76da104e49d0d3053ead9966655f633ff46.tar.gz
Split ChanType closehandler() and cleanup() so that dbclient doesn't
lose exit status messages
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r--cli-tcpfwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c
index aa112b2..e6387d9 100644
--- a/cli-tcpfwd.c
+++ b/cli-tcpfwd.c
@@ -40,6 +40,7 @@ const struct ChanType cli_chan_tcpremote = {
newtcpforwarded,
NULL,
NULL,
+ NULL,
NULL
};
#endif
@@ -55,6 +56,7 @@ static const struct ChanType cli_chan_tcplocal = {
tcp_prio_inithandler,
NULL,
NULL,
+ NULL,
NULL
};
#endif