diff --git a/src/TeemIpDiscoveryIPv4Collector.class.inc.php b/src/TeemIpDiscoveryIPv4Collector.class.inc.php index 66b6567..10cb880 100644 --- a/src/TeemIpDiscoveryIPv4Collector.class.inc.php +++ b/src/TeemIpDiscoveryIPv4Collector.class.inc.php @@ -602,8 +602,13 @@ protected function ScanIpv4Ips($sTimeStamp) /** * @inheritdoc */ - public function prepare() + public function Prepare() { + $bRet = parent::Prepare(); + if (!$bRet) { + return false; + } + // check list of ubnets to discover if (empty($this->aIPv4SubnetsList)) { // Just exit if there are no subnet to scan.