comparison svr-tcpfwd.c @ 259:c049490e43fe

* fix -L forwarding on the client, broke last rev
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Dec 2005 16:51:55 +0000
parents 306499676384
children 7ce577234a10
comparison
equal deleted inserted replaced
258:306499676384 259:c049490e43fe
206 tcpinfo->sendaddr = NULL; 206 tcpinfo->sendaddr = NULL;
207 tcpinfo->sendport = 0; 207 tcpinfo->sendport = 0;
208 tcpinfo->listenaddr = bindaddr; 208 tcpinfo->listenaddr = bindaddr;
209 tcpinfo->listenport = port; 209 tcpinfo->listenport = port;
210 tcpinfo->chantype = &svr_chan_tcpremote; 210 tcpinfo->chantype = &svr_chan_tcpremote;
211 tcpinfo->tcp_type = forwarded;
211 212
212 ret = listen_tcpfwd(tcpinfo); 213 ret = listen_tcpfwd(tcpinfo);
213 214
214 out: 215 out:
215 if (ret == DROPBEAR_FAILURE) { 216 if (ret == DROPBEAR_FAILURE) {