mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
Update SpeedtestHandler.cs
This commit is contained in:
parent
2779670fa2
commit
ad406c3682
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ namespace v2rayN.Handler
|
|||
|
||||
try
|
||||
{
|
||||
IPHostEntry ipHostInfo = System.Net.Dns.Resolve(url);
|
||||
IPHostEntry ipHostInfo = System.Net.Dns.GetHostEntry(url);
|
||||
IPAddress ipAddress = ipHostInfo.AddressList[0];
|
||||
|
||||
var timer = new Stopwatch();
|
||||
|
|
Loading…
Reference in a new issue