summaryrefslogtreecommitdiffhomepage
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
commitfe992bf4eace5f5a2e1322e445c45731397f14d9 (patch)
treebd16ba8323e1b25726114961860a735ec94011fc /cli-tcpfwd.c
parentffde4a524f3a595c476fc1bf9f6a8e2bcf98ed63 (diff)
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