summaryrefslogtreecommitdiff
path: root/src/network/inet_addr.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-08-04 14:20:40 -0400
committerRich Felker <dalias@aerifal.cx>2020-08-04 14:20:40 -0400
commit20c6d83f5566590a65895b4fa11bf31fee3dcc44 (patch)
tree92958212e92d7d14dd339d0df445c047958a5092 /src/network/inet_addr.c
parent73cc775bee53300c7cf759f37580220b18ac13d3 (diff)
downloadmusl-20c6d83f5566590a65895b4fa11bf31fee3dcc44.tar.gz
musl-20c6d83f5566590a65895b4fa11bf31fee3dcc44.tar.bz2
musl-20c6d83f5566590a65895b4fa11bf31fee3dcc44.tar.xz
musl-20c6d83f5566590a65895b4fa11bf31fee3dcc44.zip
in hosts file lookups, use only first match for canonical name
the existing code clobbered the canonical name already discovered every time another matching line was found, which will necessarily be the case when a hostname has both IPv4 and v6 definitions. patch by Wolf.
Diffstat (limited to 'src/network/inet_addr.c')
0 files changed, 0 insertions, 0 deletions