mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@ -891,6 +891,7 @@ function is_port_valid($port, $device)
|
|||||||
}
|
}
|
||||||
if (empty($port['ifDescr'])) { $valid = 0; }
|
if (empty($port['ifDescr'])) { $valid = 0; }
|
||||||
if ($device['os'] == "catos" && strstr($if, "vlan")) { $valid = 0; }
|
if ($device['os'] == "catos" && strstr($if, "vlan")) { $valid = 0; }
|
||||||
|
if ($device['os'] == "dlink") { $valid = 1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
return $valid;
|
return $valid;
|
||||||
|
Reference in New Issue
Block a user