Force ipv4 in online check
to make sure we get "TTL" in the response for systems that have IPv6 enabled
This commit is contained in:
committed by
GitHub
parent
9224a659cd
commit
76d246cfe5
@@ -19,7 +19,7 @@ IF "%~1"=="/f" SET skipPrompts=true
|
|||||||
|
|
||||||
ECHO.
|
ECHO.
|
||||||
ECHO Checking internet connection...
|
ECHO Checking internet connection...
|
||||||
PING tx.fhir.org -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
|
PING tx.fhir.org -4 -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
|
||||||
ECHO We're offline, nothing to do...
|
ECHO We're offline, nothing to do...
|
||||||
GOTO end
|
GOTO end
|
||||||
|
|
||||||
@@ -215,4 +215,4 @@ start copy /y "_updatePublisher.new.bat" "_updatePublisher.bat" ^&^& del "_updat
|
|||||||
|
|
||||||
IF "%skipPrompts%"=="true" (
|
IF "%skipPrompts%"=="true" (
|
||||||
PAUSE
|
PAUSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user