From patchwork Mon Apr 13 07:45:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 2956 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49110371qKz3yBt for ; Mon, 13 Apr 2020 07:46:27 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4910zm6Mrbz2rD; Mon, 13 Apr 2020 07:46:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4910zm4zZxz2xqq; Mon, 13 Apr 2020 07:46:12 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4910zg6cVxz2xqq for ; Mon, 13 Apr 2020 07:46:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4910zc2QcWz2nB; Mon, 13 Apr 2020 07:46:04 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1586763964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7jlaoR32SBF04ZnPGBuq9I7nipGOTRsvuyx59BB3E2g=; b=qbhRFHDxjz7etERkN7P32CqiGcE2WAqLkVXYMP/e7XfiHs+/0uCfz/3g2lPBaDrS2/doJg nTNCA7VDp5Z7TgCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1586763964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7jlaoR32SBF04ZnPGBuq9I7nipGOTRsvuyx59BB3E2g=; b=YiY5+G19+B/N8nL2206NrxFLoraaiWufaycFIY38PKoQjTtGy5yq77D7ynVRjQd6rfyrbY hRZfXtYO7EA5oujU3gSKu61C/ohDVtBnx13oPAJ8MTyRmZE8c3C7SdCsXzxckm3eg1pcmA zKIv0bNtMM21l5oAGSRGkDE5U29uaYFTMIXEyhJqsQajFH3mJAEywaXJLqWYpbxzkK4bsT 03UynsTdN7RWu5TCM5A59ybykfVw2pyrG+JqayMhfB5vax0J3fQdZwUU4tq+SF5u4v82mg HW2TasPBV3ceDyMsKFcE/QXxuyXwBuxA7vUw/WKHI7VtJepovf5jlg+Fay0dcQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 14/19] ovpnclients.dat: Align traffic values to the right side. Date: Mon, 13 Apr 2020 09:45:45 +0200 Message-Id: <20200413074550.2735-14-stefan.schantl@ipfire.org> In-Reply-To: <20200413074550.2735-1-stefan.schantl@ipfire.org> References: <20200413074550.2735-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- html/cgi-bin/logs.cgi/ovpnclients.dat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/logs.cgi/ovpnclients.dat b/html/cgi-bin/logs.cgi/ovpnclients.dat index 62b91a054..002a393ad 100755 --- a/html/cgi-bin/logs.cgi/ovpnclients.dat +++ b/html/cgi-bin/logs.cgi/ovpnclients.dat @@ -262,8 +262,8 @@ my $col = "bgcolor='$color{'color20'}'"; if ($cgiparams{'CONNECTION_NAME'}) { print "$Lang::tr{'connected'}\n"; print "$Lang::tr{'disconnected'}\n"; - print "$Lang::tr{'received'}\n"; - print "$Lang::tr{'sent'}\n"; + print "$Lang::tr{'received'}\n"; + print "$Lang::tr{'sent'}\n"; } else { print "$Lang::tr{'total connection time'}\n"; } @@ -293,8 +293,8 @@ unless ($errormessage) { if ($cgiparams{'CONNECTION_NAME'}) { print "$connection_open_time\n"; print "$connection_close_time\n"; - print "$connection_bytes_recieved\n"; - print "$connection_bytes_sent\n"; + print "$connection_bytes_recieved\n"; + print "$connection_bytes_sent\n"; } else { # Convert total connection time into human-readable format. my $total_time = &General::format_time($row[1]);