diff --git a/pandora_console/include/class/SatelliteAgent.class.php b/pandora_console/include/class/SatelliteAgent.class.php index b25ad715af..886607f2d4 100644 --- a/pandora_console/include/class/SatelliteAgent.class.php +++ b/pandora_console/include/class/SatelliteAgent.class.php @@ -855,7 +855,7 @@ class SatelliteAgent extends HTML public function checkAddressExists($address) { - $pos_address = preg_grep('/.*_host\s('.$address.').*/', $this->satellite_config); + $pos_address = preg_grep('/.*_host\s('.$address.')\s.*/', $this->satellite_config); if (empty($pos_address) === false) { return true;