Changeset 1607
- Timestamp:
- Dec 1, 2007 9:12:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c
r1457 r1607 250 250 /* If address is 0.0.0.0, use host's IP address */ 251 251 if (tp->rtp_addr_name.sin_addr.s_addr == 0) { 252 pj_ in_addr hostip;253 254 status = pj_gethostip( &hostip);252 pj_sockaddr hostip; 253 254 status = pj_gethostip(pj_AF_INET(), &hostip); 255 255 if (status != PJ_SUCCESS) 256 256 goto on_error; 257 257 258 tp->rtp_addr_name.sin_addr = hostip;258 tp->rtp_addr_name.sin_addr.s_addr = hostip.ipv4.sin_addr.s_addr; 259 259 } 260 260
Note: See TracChangeset
for help on using the changeset viewer.