From 651c1cac23d77988521d96283043f476d3361ed8 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Thu, 21 Sep 2017 07:22:33 +0800 Subject: [PATCH] Fixed broken link --- data/web/diagnostics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/diagnostics.php b/data/web/diagnostics.php index 5a199007..d35c4d47 100644 --- a/data/web/diagnostics.php +++ b/data/web/diagnostics.php @@ -10,7 +10,7 @@ define('state_optional', "(optional)"); if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin") { require_once("inc/header.inc.php"); -$ch = curl_init('http://ipv4.mailcow.email'); +$ch = curl_init('http://ip4.mailcow.email'); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); curl_setopt($ch, CURLOPT_VERBOSE, false); curl_setopt($ch, CURLOPT_HEADER, false); @@ -19,7 +19,7 @@ curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3); $ip = curl_exec($ch); curl_close($ch); -$ch = curl_init('http://ipv6.mailcow.email'); +$ch = curl_init('http://ip6.mailcow.email'); curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6); curl_setopt($ch, CURLOPT_VERBOSE, false); curl_setopt($ch, CURLOPT_HEADER, false);