Changeset 1756 for pjproject/trunk
- Timestamp:
- Jan 26, 2008 10:45:02 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r1405 r1756 90 90 pkt->rdata.pkt_info.len = tdata->buf.cur - tdata->buf.start; 91 91 92 /* the source address */ 93 pkt->rdata.pkt_info.src_addr.addr.sa_family = pj_AF_INET(); 94 92 95 /* "Source address" info. */ 93 96 pkt->rdata.pkt_info.src_addr_len = sizeof(pj_sockaddr_in); 94 if (loop->base.key.type == PJSIP_TRANSPORT_LOOP) 97 if (loop->base.key.type == PJSIP_TRANSPORT_LOOP) { 95 98 pj_ansi_strcpy(pkt->rdata.pkt_info.src_name, ADDR_LOOP); 96 else99 } else { 97 100 pj_ansi_strcpy(pkt->rdata.pkt_info.src_name, ADDR_LOOP_DGRAM); 101 } 98 102 pkt->rdata.pkt_info.src_port = loop->base.local_name.port; 99 103
Note: See TracChangeset
for help on using the changeset viewer.