From 5e99660d7d16b91914ecf1742c8302b3f6b8b2c4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 19 Jun 2021 16:03:14 +0200 Subject: [PATCH] speed.cgi: Add requirement for general-functions.pl. The CGI now requires the general-functions library, because the get_red_interface() function is used. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- 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 8acdb2bd8c..b550fda521 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; -- 2.39.5