You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2016-11-01 21:06:15

abmglpi
Member
Registered: 2016-11-01
Posts: 1

plugins/fusioninventory/inc/networkport.class.php

When an unmanaged device is found, sometimes it gets no name.

Adding the last 5 lines below, at least the manufacturer will be known.

I haven't found the correct place where I can open a ticket asking for a patch.

         // Add unmanaged device because not find device
         $input = array();
         $input['mac'] = $sysmac;
         if (isset($params['sysname'])) {
            $input['name'] = $params['sysname'];
  +       } else if (isset($params['name'])) { 
  +         $input['name'] = $params['name'];
  +       } else {
  +        $input['name'] = PluginFusioninventoryInventoryExternalDB::getManufacturerWithMAC($sysmac);
  +      }

Offline

Board footer

Powered by FluxBB