mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix automatic service discovery (#11963)
This commit is contained in:
@@ -36,7 +36,7 @@ function get_service_status($device = null)
|
|||||||
return $service_count;
|
return $service_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_service($device, $type, $desc, $ip = 'localhost', $param = "", $ignore = 0, $disabled = 0)
|
function add_service($device, $type, $desc, $ip = '', $param = "", $ignore = 0, $disabled = 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!is_array($device)) {
|
if (!is_array($device)) {
|
||||||
|
Reference in New Issue
Block a user