mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This is a workaround to show d-link port channel devices. Thanks to lafwood for this.
This commit is contained in:
@ -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