diff --git a/ws/reader.php b/ws/reader.php index f7059bc..90dcef3 100644 --- a/ws/reader.php +++ b/ws/reader.php @@ -299,7 +299,7 @@ switch( $_POST['op'] ){ $sql = " SELECT SUBSTRING(mac, 1, 8) AS indice, - COUNT(mac) AS valore + COUNT(DISTINCT(mac)) AS valore FROM `logs` GROUP BY