comparison svr-tcpfwd.c @ 910:89555751c489 asm

merge up to 2013.63, improve ASM makefile rules a bit
author Matt Johnston <matt@ucc.asn.au>
date Thu, 27 Feb 2014 21:35:58 +0800
parents c19acba28590
children 4ad38e223ccd
comparison
equal deleted inserted replaced
909:e4b75744acab 910:89555751c489
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;