Changeset 4504 for pjproject/trunk
- Timestamp:
- Apr 25, 2013 10:59:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4454 r4504 1245 1245 af = (tp_type & PJSIP_TRANSPORT_IPV6)? PJ_AF_INET6 : PJ_AF_INET; 1246 1246 status = pj_getipinterface(af, dst, &itf_addr, PJ_FALSE, NULL); 1247 if (status != PJ_SUCCESS) 1248 return status; 1247 if (status != PJ_SUCCESS) { 1248 /* If it fails, e.g: on WM6 (http://support.microsoft.com/kb/129065), 1249 * just fallback using pj_gethostip(), see ticket #1660. 1250 */ 1251 PJ_LOG(5,(THIS_FILE,"Warning: unable to determine local " 1252 "interface, fallback to default interface!")); 1253 status = pj_gethostip(af, &itf_addr); 1254 if (status != PJ_SUCCESS) 1255 return status; 1256 } 1249 1257 1250 1258 /* Print address */
Note: See TracChangeset
for help on using the changeset viewer.