Correct error message for gateways to report down when the gateway is down and not high latency.

This commit is contained in:
Ermal 2011-04-06 14:59:30 +00:00
parent 19d9146637
commit 4c613f8482

View File

@ -419,7 +419,7 @@ function return_gateway_groups_array() {
$status = $gateways_status[$gwname];
$gwdown = false;
if (stristr($status['status'], "down")) {
$msg = "MONITOR: {$gwname} has high latency, removing from routing group";
$msg = "MONITOR: {$gwname} is down, removing from routing group";
$gwdown = true;
} else if (stristr($status['status'], "loss") && strstr($group['trigger'], "loss")) {
/* packet loss */