mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
ovpnclients.dat: Display traffic details in a human-readable format.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
c5f85b1152
commit
8615383823
@@ -250,8 +250,8 @@ while(my @row = $statement_handle->fetchrow_array()) {
|
||||
my $connection_name = $row[0];
|
||||
my $connection_open_time = $row[1];
|
||||
my $connection_close_time = $row[2];
|
||||
my $connection_bytes_recieved = $row[3];
|
||||
my $connection_bytes_sent = $row[4];
|
||||
my $connection_bytes_recieved = &General::formatBytes($row[3]);
|
||||
my $connection_bytes_sent = &General::formatBytes($row[4]);
|
||||
|
||||
# Colorize columns.
|
||||
if ($lines % 2) {
|
||||
|
||||
Reference in New Issue
Block a user