Browse Source

Update SpeedtestHandler.cs

pull/266/head
2dust 5 years ago
parent
commit
ad406c3682
  1. 2
      v2rayN/v2rayN/Handler/SpeedtestHandler.cs

2
v2rayN/v2rayN/Handler/SpeedtestHandler.cs

@ -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…
Cancel
Save