From 9b67c1b98664a5465c1b2c51cf5f5762bf813aec Mon Sep 17 00:00:00 2001 From: Promofaux Date: Mon, 17 Oct 2016 21:33:34 +0100 Subject: [PATCH] add Hostname check to Forward Destination array. Closes Feature request in #551 --- data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.php b/data.php index 5fe2fdde..9a36dae3 100644 --- a/data.php +++ b/data.php @@ -84,7 +84,7 @@ $destinations = array(); foreach ($forwards as $forward) { $exploded = explode(" ", trim($forward)); - $dest = $exploded[count($exploded) - 1]; + $dest = hasHostName($exploded[count($exploded) - 1]); if (isset($destinations[$dest])) { $destinations[$dest]++; }