• R
    add support for reverse name lookups from hosts file to getnameinfo · 01dc3f4f
    Rich Felker 提交于
    this also affects the legacy gethostbyaddr family, which uses
    getnameinfo as its backend.
    
    some other minor changes associated with the refactoring of source
    files are also made; in particular, the resolv.conf parser now uses
    the same code that's used elsewhere to handle ip literals, so as a
    side effect it can now accept a scope id for nameserver addressed with
    link-local scope.
    01dc3f4f
lookup_name.c 5.7 KB