- Timestamp:
- Nov 11, 2007 3:06:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r1536 r1571 1241 1241 * the name of local host. 1242 1242 */ 1243 if (stun_srv.slen) { 1243 if (p_pub_addr->sin_addr.s_addr != 0) { 1244 /* 1245 * Public address is already specified, no need to resolve the 1246 * address, only set the port. 1247 */ 1248 if (p_pub_addr->sin_port == 0) 1249 p_pub_addr->sin_port = pj_htons((pj_uint16_t)port); 1250 1251 } else if (stun_srv.slen) { 1244 1252 /* 1245 1253 * STUN is specified, resolve the address with STUN. … … 1254 1262 return status; 1255 1263 } 1256 1257 } else if (p_pub_addr->sin_addr.s_addr != 0) {1258 /*1259 * Public address is already specified, no need to resolve the1260 * address, only set the port.1261 */1262 if (p_pub_addr->sin_port == 0)1263 p_pub_addr->sin_port = pj_htons((pj_uint16_t)port);1264 1264 1265 1265 } else {
Note: See TracChangeset
for help on using the changeset viewer.