Changeset 0aa70f4 in mainline for uspace/app/dnsres


Ignore:
Timestamp:
2013-07-19T13:23:00Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd18cd1
Parents:
44c9ef4
Message:

support for IPv6 DNS name resolution (AAAA)
if the desired address family of the DNS query is not explicitly specified, then IPv6 addresses take precendece over IPv4 addresses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/dnsres/dnsres.c

    r44c9ef4 r0aa70f4  
    6060        hname = argv[1];
    6161
    62         rc = dnsr_name2host(hname, &hinfo);
     62        rc = dnsr_name2host(hname, &hinfo, 0);
    6363        if (rc != EOK) {
    6464                printf(NAME ": Error resolving '%s'.\n", argv[1]);
Note: See TracChangeset for help on using the changeset viewer.