src: lint and stylsrc: lint and stylee

This commit is contained in:
Franco Fichtner 2020-08-07 13:06:04 +02:00
parent e22bb69cb6
commit 2344a7b40c
2 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class LogController extends ApiControllerBase
$this->response->setRawHeader("Content-Type: text/csv");
$this->response->setRawHeader("Content-Disposition: attachment; filename=" . $scope . ".log");
foreach (json_decode($response, true)['rows'] as $row) {
printf("%s\t%s\t%s\n", $row['timestamp'], $row['process_name'], $row['line']);
printf("%s\t%s\t%s\n", $row['timestamp'], $row['process_name'], $row['line']);
}
return;
}

0
src/opnsense/scripts/filter/lib/arpcache.py Normal file → Executable file
View File