Can any one please specify how I can add different subnet in discovery plugin? I would like to add 10.24.0.254/28 at following at default subnet area mentioned in plugin findhosts.php:
// 10.1.0.1
if (preg_match("/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/", $h)) {
return $h;
}
and
// 10.1.0.1
if (preg_match("/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/", $h)) {
return 1;
}
Thanks in advance
Jit
discovery plugin customization
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest