public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] speed.cgi: Add requirement for general-functions.pl.
Date: Sun, 20 Jun 2021 21:12:08 +0200	[thread overview]
Message-ID: <55cbb490-fc8a-ce18-2dbf-795149f23e07@ipfire.org> (raw)
In-Reply-To: <20210619140314.2397-1-stefan.schantl@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

Reviewed-by: Adolf Belka <adolf.belka(a)ipfire.org>

Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>

On 19/06/2021 16:03, Stefan Schantl wrote:
> The CGI now requires the general-functions library, because the
> get_red_interface() function is used.
>
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
>   html/cgi-bin/speed.cgi | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/html/cgi-bin/speed.cgi b/html/cgi-bin/speed.cgi
> index 8acdb2bd8..b550fda52 100644
> --- a/html/cgi-bin/speed.cgi
> +++ b/html/cgi-bin/speed.cgi
> @@ -19,6 +19,8 @@
>   #                                                                             #
>   ###############################################################################
>   
> +require '/var/ipfire/general-functions.pl';
> +
>   my $data_last = $ENV{'QUERY_STRING'};
>   my $rxb_last = 0;
>   my $txb_last = 0;

      reply	other threads:[~2021-06-20 19:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19 14:03 Stefan Schantl
2021-06-20 19:12 ` Adolf Belka [this message]

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=55cbb490-fc8a-ce18-2dbf-795149f23e07@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@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