From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka 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 Message-ID: <55cbb490-fc8a-ce18-2dbf-795149f23e07@ipfire.org> In-Reply-To: <20210619140314.2397-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3218315947543406960==" List-Id: --===============3218315947543406960== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Adolf Belka Tested-by: Adolf Belka 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 > --- > 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 @@ > # = # > #########################################################################= ###### > =20 > +require '/var/ipfire/general-functions.pl'; > + > my $data_last =3D $ENV{'QUERY_STRING'}; > my $rxb_last =3D 0; > my $txb_last =3D 0; --===============3218315947543406960==--