- 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-util/src/pjlib-util/dns_dump.c
r4613 r5513 91 91 const pj_str_t *name = &rr->name; 92 92 char ttl_words[32]; 93 char addr[PJ_INET6_ADDRSTRLEN]; 93 94 94 95 if (name->slen == 0) … … 118 119 } else if (rr->type == PJ_DNS_TYPE_A) { 119 120 PJ_LOG(3,(THIS_FILE, " IP address: %s", 120 pj_inet_ntoa(rr->rdata.a.ip_addr))); 121 pj_inet_ntop2(pj_AF_INET(), &rr->rdata.a.ip_addr, 122 addr, sizeof(addr)))); 121 123 } else if (rr->type == PJ_DNS_TYPE_AAAA) { 122 char addr[PJ_INET6_ADDRSTRLEN];123 124 PJ_LOG(3,(THIS_FILE, " IPv6 address: %s", 124 125 pj_inet_ntop2(pj_AF_INET6(), &rr->rdata.aaaa.ip_addr, … … 171 172 172 173 /* Dump NS sections */ 173 if (res->hdr. anscount) {174 if (res->hdr.nscount) { 174 175 PJ_LOG(3,(THIS_FILE, " NS Authority RR:")); 175 176
Note: See TracChangeset
for help on using the changeset viewer.