Changeset 5350 for pjproject/trunk/pjlib-util/src/pjlib-util/dns_server.c
- Timestamp:
- Jun 21, 2016 6:55:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/dns_server.c
r4537 r5350 312 312 size -= 6; 313 313 314 } else if (rr->type == PJ_DNS_TYPE_AAAA) { 315 316 if (size < 18) 317 return -1; 318 319 /* RDLEN is 16 */ 320 write16(p, 16); 321 322 /* Address */ 323 pj_memcpy(p+2, &rr->rdata.aaaa.ip_addr, 16); 324 325 p += 18; 326 size -= 18; 327 314 328 } else if (rr->type == PJ_DNS_TYPE_CNAME || 315 329 rr->type == PJ_DNS_TYPE_NS ||
Note: See TracChangeset
for help on using the changeset viewer.