mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-24 16:25:06 +00:00
Force using IPv4 in update check
This commit is contained in:
parent
9936a1d3a1
commit
569681da0e
@ -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 New Issue
Block a user