1
0
mirror of https://github.com/loviuz/wifi-probe-aggregator.git synced 2025-01-13 23:52:36 +01:00

Fix minori

This commit is contained in:
loviuz 2020-08-08 22:44:41 +02:00
parent 0466817800
commit 1ca2932bed

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]);