mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-22 08:47:52 +01:00
Force using IPv4 in update check
This commit is contained in:
parent
9936a1d3a1
commit
569681da0e
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ exit /b
|
||||||
set -=
|
set -=
|
||||||
set old=
|
set old=
|
||||||
|
|
||||||
for /f "delims=[] tokens=2" %%# in ('ping -n 1 updatecheck.mass%-%grave.dev') do (
|
for /f "delims=[] tokens=2" %%# in ('ping -4 -n 1 updatecheck.mass%-%grave.dev') do (
|
||||||
if not [%%#]==[] echo "%%#" | find "127.69.%masver%" %nul1% || set old=1
|
if not [%%#]==[] echo "%%#" | find "127.69.%masver%" %nul1% || set old=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue