Mercurial > dropbear
comparison svr-tcpfwd.c @ 1250:2bb4c662d1c2
more hard tab
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Fri, 01 Jan 2016 15:02:09 +0100 |
parents | aaf576b27a10 |
children | 52a456a3add0 |
comparison
equal
deleted
inserted
replaced
1249:c6346c63281b | 1250:2bb4c662d1c2 |
---|---|
192 tcpinfo->chantype = &svr_chan_tcpremote; | 192 tcpinfo->chantype = &svr_chan_tcpremote; |
193 tcpinfo->tcp_type = forwarded; | 193 tcpinfo->tcp_type = forwarded; |
194 | 194 |
195 tcpinfo->request_listenaddr = request_addr; | 195 tcpinfo->request_listenaddr = request_addr; |
196 if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { | 196 if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { |
197 /* NULL means "localhost only" */ | 197 /* NULL means "localhost only" */ |
198 tcpinfo->listenaddr = NULL; | 198 tcpinfo->listenaddr = NULL; |
199 } | 199 } |
200 else | 200 else |
201 { | 201 { |
202 tcpinfo->listenaddr = request_addr; | 202 tcpinfo->listenaddr = request_addr; |