|
|
|
@ -950,8 +950,9 @@ if ($mirrors_response.StatusCode -eq 200) {
|
|
|
|
|
$itrace = test-netconnection $ihost -Hops 6 -TraceRoute -ErrorAction Ignore |
|
|
|
|
if ((${itrace}.PingSucceeded) -and (${itrace}.TraceRoute.Count -lt 5)) { |
|
|
|
|
$host_list += $ihost |
|
|
|
|
$dict_mirrors[$ihost] = @{} |
|
|
|
|
$dict_mirrors[$ihost]["latency"] = 1 |
|
|
|
|
$dict_mirrors[$ihost]["uri"] = $mirror |
|
|
|
|
$dict_mirrors[$ihost]["uri"] = $imirror |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|