diff --git a/app/Http/Controllers/Table/FdbTablesController.php b/app/Http/Controllers/Table/FdbTablesController.php index c36d16173691..67e458e989bd 100755 --- a/app/Http/Controllers/Table/FdbTablesController.php +++ b/app/Http/Controllers/Table/FdbTablesController.php @@ -306,8 +306,7 @@ protected function findPortsByOui(array $vendor_ouis, Builder $query): Builder { $query->where(function (Builder $query) use ($vendor_ouis) { foreach ($vendor_ouis as $oui) { - $clean_oui = str_replace(':', '', $oui); - $query->orWhere('ports_fdb.mac_address', 'LIKE', "$clean_oui%"); + $query->orWhere('ports_fdb.mac_address', 'LIKE', "$oui%"); } });