mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Fixed $speed lenght in port parser when > 32 characters (#9479)
This commit is contained in:
parent
36ea8a043e
commit
4ed9424390
@ -16,7 +16,7 @@ if ($type && $descr) {
|
||||
$port_ifAlias['type'] = $type;
|
||||
$port_ifAlias['descr'] = $descr;
|
||||
$port_ifAlias['circuit'] = $circuit;
|
||||
$port_ifAlias['speed'] = $speed;
|
||||
$port_ifAlias['speed'] = substr($speed, 0, 32);
|
||||
$port_ifAlias['notes'] = $notes;
|
||||
|
||||
d_echo($port_ifAlias);
|
||||
|
Loading…
Reference in New Issue
Block a user