diff --git a/segments/wan_ip.sh b/segments/wan_ip.sh index 1287d5de..75647f4b 100755 --- a/segments/wan_ip.sh +++ b/segments/wan_ip.sh @@ -39,7 +39,7 @@ run_segment() { fi if [ -z "$wan_ip" ]; then - if wan_ip=$(curl --max-time 2 -s http://whatismyip.akamai.com/); then + if wan_ip=$(curl --max-time 2 -s https://whatismyip.akamai.com/); then echo "${wan_ip}" >"$tmp_file" elif [ -f "${tmp_file}" ]; then wan_ip=$(cat "$tmp_file")