* netdb: Fixed ResolveAddress6(). The long deprecated suffix "ip6.int" has been used instead of the proper "ip6.arpa" suffix.

git-svn-id: trunk@44297 -
This commit is contained in:
yury 2020-03-13 19:23:42 +00:00
parent 3c29845c46
commit c79e21e0dc

View File

@ -1150,7 +1150,7 @@ Var
begin
CheckResolveFile;
Result:=0;
S := '0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int';
S := '0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa';
for i := 7 downto 0 do begin
S[5+(7-i)*8] := hexdig[1+(HostAddr.u6_addr16[i] and $000F) shr 00];
S[7+(7-i)*8] := hexdig[1+(HostAddr.u6_addr16[i] and $00F0) shr 04];