Skip to content

Commit

Permalink
Correctly call parent Prepare method for IPv4Collector (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hipska authored Feb 14, 2024
1 parent 6111a02 commit 58c3422
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/TeemIpDiscoveryIPv4Collector.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 58c3422

Please sign in to comment.