X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/3ac664ec654230b9ad26ab12242c1db6f636a26f..c1aeb5145ef5940247379a3d5a1be00913c0b4b8:/lcorelocalips.pas?ds=sidebyside diff --git a/lcorelocalips.pas b/lcorelocalips.pas index ae2a00b..aafddf7 100644 --- a/lcorelocalips.pas +++ b/lcorelocalips.pas @@ -188,7 +188,7 @@ end; {$else} uses - sysutils,windows,winsock,dnssync; + sysutils,windows,winsock,dnswin; {the following code's purpose is to determine what IP windows would come from, to reach an IP it can be abused to find if there's any global v6 IPs on a local interface} @@ -255,8 +255,10 @@ function getlocalips:tbiniplist; var a:integer; ip:tbinip; + usewindnstemp:boolean; + error:integer; begin - result := forwardlookuplist('',0); + result := winforwardlookuplist('',0,error); {$ifdef ipv6}