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