public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 1f2ea92214879acc6292dfcdbb103e3210eed4cc
Date: Mon, 11 May 2026 17:53:05 +0000 (UTC)	[thread overview]
Message-ID: <4gDnPs40h0z2xcP@people01.haj.ipfire.org> (raw)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  1f2ea92214879acc6292dfcdbb103e3210eed4cc (commit)
      from  9f5a87822cd6d5826935e3caebffbdcb239edfe7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1f2ea92214879acc6292dfcdbb103e3210eed4cc
Author: Adolf Belka <adolf.belka@ipfire.org>
Date:   Mon May 11 12:42:27 2026 +0200

    ovpnmain.cgi: CU202 fix - Update the RW Log Status extraction
    
    - Previously the second section of the RW Log Status file had IP:Port, so selecting the
       first part of that section showed the IP.
    - The new status now has Protocol:IP:Port so the selection has to be changed to the
       second part of that section so the index goes from 0 to 1
    - That was missed by me when I did the OpenVPON-2.7 update
    
    Tested-by: Adolf Belka <adolf.belka@ipfire.org>
    Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 html/cgi-bin/ovpnmain.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Difference in files:
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index ab91eec57..4e3cc7f50 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -3187,7 +3187,7 @@ END
 			$users[$uid]{'BytesSent'} = &General::formatBytes($match[4]);
 			$users[$uid]{'Since'} = $match[5];
 
-			my $address = (split ':', $users[$uid]{'RealAddress'})[0];
+			my $address = (split ':', $users[$uid]{'RealAddress'})[1];
 			$users[$uid]{'RealAddress'} = $address;
 			$users[$uid]{'Country'} = &Location::Functions::lookup_country_code($address);
 			$uid++;


hooks/post-receive
--
IPFire 2.x development tree


                 reply	other threads:[~2026-05-11 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4gDnPs40h0z2xcP@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox