Ignore:
Timestamp:
Nov 20, 2007 9:47:32 AM (15 years ago)
Author:
bennylp
Message:

Ticket #419: initial support for DNS AAAA resolution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/dns_dump.c

    r1031 r1587  
    118118        PJ_LOG(3,(THIS_FILE, "    IP address: %s", 
    119119                  pj_inet_ntoa(rr->rdata.a.ip_addr))); 
     120    } else if (rr->type == PJ_DNS_TYPE_AAAA) { 
     121        char addr[PJ_INET6_ADDRSTRLEN]; 
     122        PJ_LOG(3,(THIS_FILE, "    IPv6 address: %s", 
     123                  pj_inet_ntop(pj_AF_INET6(), &rr->rdata.aaaa.ip_addr, 
     124                               addr, sizeof(addr)))); 
    120125    } 
    121126} 
Note: See TracChangeset for help on using the changeset viewer.