summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-11-28 17:18:12 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-11-28 17:18:12 +0530
commit5a4c6d53f50b264d60cf6453576ca2810c7890b7 (patch)
treebdb73e524e4b77c297b766c5be1c6967fe332381 /include
parent897b98ba4dacb02edc3c8775f207a9c9a25fc1e4 (diff)
Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077)
AF_INET lookup in hosts file uses _nss_files_gethostbyname2_r, which is not capable of returning a canonical name if it has found one. This change adds _nss_files_gethostbyname3_r, which wraps around _nss_files_gethostbyname2_r and then returns result.h_name as the canonical name.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions