From 0aba7c52dc788effc13d390e3d0a2b7f8fcb8452 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 16 Dec 2019 17:40:58 +0200 Subject: [PATCH] [BETA] Fix whitelist-ips test Fix way we check for local IP use dig --- .dev-tools/beta-test-blocker-whitelist-ips.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev-tools/beta-test-blocker-whitelist-ips.sh b/.dev-tools/beta-test-blocker-whitelist-ips.sh index 00889063a..f2294f61a 100755 --- a/.dev-tools/beta-test-blocker-whitelist-ips.sh +++ b/.dev-tools/beta-test-blocker-whitelist-ips.sh @@ -54,7 +54,7 @@ magenta=$(tput setaf 5) cyan=$(tput setaf 6) white=$(tput setaf 7) defaultcolor=$(tput setaf default) -thisip=$(curl -s ifconfig.co) +thisip=$(dig +short myip.opendns.com @resolver1.opendns.com) # --------- # FUNCTIONS