From 76d246cfe542c0978671e0a984229000374af881 Mon Sep 17 00:00:00 2001 From: Jose Costa Teixeira Date: Wed, 17 Jun 2020 17:38:03 +0200 Subject: [PATCH] Force ipv4 in online check to make sure we get "TTL" in the response for systems that have IPv6 enabled --- _updatePublisher.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_updatePublisher.bat b/_updatePublisher.bat index 05ff2de..b1b4296 100644 --- a/_updatePublisher.bat +++ b/_updatePublisher.bat @@ -19,7 +19,7 @@ IF "%~1"=="/f" SET skipPrompts=true ECHO. 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... GOTO end @@ -215,4 +215,4 @@ start copy /y "_updatePublisher.new.bat" "_updatePublisher.bat" ^&^& del "_updat IF "%skipPrompts%"=="true" ( PAUSE -} \ No newline at end of file +}