Fix minori

This commit is contained in:
loviuz 2020-08-08 22:44:41 +02:00
parent 0466817800
commit 1ca2932bed
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ switch( $_POST['op'] ){
// Lettura vendor
$mac = str_replace( ':', '-', substr($row['indice'], 0, 8) );
$row['valore_extra'] = '';
$row['valore_extra'] = 'sconosciuto';
if( preg_match( '/^'.preg_quote($mac).'([\s\t]+)\(hex\)(.+?)$/im', $oui, $m) ){
$row['valore_extra'] = trim($m[2]);