mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Changing device type now is persistant (#5529)
This commit is contained in:
@@ -165,9 +165,11 @@ function poll_device($device, $options)
|
||||
{
|
||||
global $config, $device, $polled_devices, $memcache;
|
||||
|
||||
$attribs = get_dev_attribs($device['device_id']);
|
||||
$device['attribs'] = $attribs;
|
||||
|
||||
load_os($device);
|
||||
|
||||
$attribs = get_dev_attribs($device['device_id']);
|
||||
$device['snmp_max_repeaters'] = $attribs['snmp_max_repeaters'];
|
||||
$device['snmp_max_oid'] = $attribs['snmp_max_oid'];
|
||||
|
||||
|
Reference in New Issue
Block a user