mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* 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:
parent
3c29845c46
commit
c79e21e0dc
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user