Changeset 6025
- Timestamp:
- Jun 12, 2019 5:04:32 AM (5 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_resolve.c
r5998 r6025 284 284 } 285 285 286 if (af == pj_AF_INET6() || PJSIP_MAX_RESOLVED_ADDRESSES > 1) 286 if (af == pj_AF_INET6() || 287 (type != PJSIP_TRANSPORT_LOOP_DGRAM && 288 PJSIP_MAX_RESOLVED_ADDRESSES > 1)) 287 289 { 288 290 /* Generate a synthesized IPv6 address, if possible. */ -
pjproject/trunk/pjsip/src/test/dns_test.c
r5848 r6025 363 363 unsigned i; 364 364 365 if (ref->count != result.servers.count) { 365 /* Result may have double the number of addresses, for IPv4 and IPv6 */ 366 if (ref->count != result.servers.count && 367 2*ref->count != result.servers.count) 368 { 366 369 PJ_LOG(3,(THIS_FILE, " test_resolve() error 10: result count mismatch")); 367 370 return 10;
Note: See TracChangeset
for help on using the changeset viewer.