From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] speed.cgi: Add requirement for general-functions.pl. Date: Sat, 19 Jun 2021 16:03:14 +0200 Message-ID: <20210619140314.2397-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2769932628316181392==" List-Id: --===============2769932628316181392== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; --=20 2.20.1 --===============2769932628316181392==--