Mercurial > dropbear
comparison svr-tcpfwd.c @ 1625:79eef94ccea9
Split ChanType closehandler() and cleanup() so that dbclient doesn't
lose exit status messages
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 14 Nov 2018 22:57:56 +0800 |
parents | 572a7aefa188 |
children | 9b02c49bd396 |
comparison
equal
deleted
inserted
replaced
1624:1f3fb83b0524 | 1625:79eef94ccea9 |
---|---|
236 1, /* sepfds */ | 236 1, /* sepfds */ |
237 "direct-tcpip", | 237 "direct-tcpip", |
238 newtcpdirect, /* init */ | 238 newtcpdirect, /* init */ |
239 NULL, /* checkclose */ | 239 NULL, /* checkclose */ |
240 NULL, /* reqhandler */ | 240 NULL, /* reqhandler */ |
241 NULL /* closehandler */ | 241 NULL, /* closehandler */ |
242 NULL /* cleanup */ | |
242 }; | 243 }; |
243 | 244 |
244 /* Called upon creating a new direct tcp channel (ie we connect out to an | 245 /* Called upon creating a new direct tcp channel (ie we connect out to an |
245 * address */ | 246 * address */ |
246 static int newtcpdirect(struct Channel * channel) { | 247 static int newtcpdirect(struct Channel * channel) { |