- Timestamp:
- Dec 28, 2016 3:40:07 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 5209,5212-5234,5237-5253,5255,5257-5292,5294-5297,5299-5332,5334-5394,5396-5438,5440-5469,5471-5496,5498-5510
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjlib/src/pj/sock_common.c
r5092 r5513 173 173 174 174 if (str_addr && str_addr->slen) { 175 #if defined(PJ_SOCKADDR_USE_GETADDRINFO) && PJ_SOCKADDR_USE_GETADDRINFO!=0 176 if (1) { 177 #else 175 178 status = pj_inet_pton(PJ_AF_INET6, str_addr, &addr->ipv6.sin6_addr); 176 179 if (status != PJ_SUCCESS) { 180 #endif 177 181 pj_addrinfo ai; 178 182 unsigned count = 1; … … 182 186 pj_memcpy(&addr->ipv6.sin6_addr, &ai.ai_addr.ipv6.sin6_addr, 183 187 sizeof(addr->ipv6.sin6_addr)); 188 addr->ipv6.sin6_scope_id = ai.ai_addr.ipv6.sin6_scope_id; 184 189 } 185 190 } … … 1245 1250 } 1246 1251 1252 PJ_DEF(int) pj_IPV6_TCLASS(void) 1253 { 1254 return PJ_IPV6_TCLASS; 1255 } 1256 1247 1257 PJ_DEF(pj_uint16_t) pj_SO_TYPE(void) 1248 1258 {
Note: See TracChangeset
for help on using the changeset viewer.