comparison svr-tcpfwd.c @ 857:c19acba28590

use oldstyle comments
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 22:03:30 +0800
parents dfdb9d9189ff
children 4ad38e223ccd
comparison
equal deleted inserted replaced
856:f56c41030c15 857:c19acba28590
209 tcpinfo->chantype = &svr_chan_tcpremote; 209 tcpinfo->chantype = &svr_chan_tcpremote;
210 tcpinfo->tcp_type = forwarded; 210 tcpinfo->tcp_type = forwarded;
211 211
212 tcpinfo->request_listenaddr = request_addr; 212 tcpinfo->request_listenaddr = request_addr;
213 if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { 213 if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) {
214 // NULL means "localhost only" 214 /* NULL means "localhost only" */
215 tcpinfo->listenaddr = NULL; 215 tcpinfo->listenaddr = NULL;
216 } 216 }
217 else 217 else
218 { 218 {
219 tcpinfo->listenaddr = request_addr; 219 tcpinfo->listenaddr = request_addr;