From: Stefan Schantl Date: Sat, 19 Jun 2021 14:03:14 +0000 (+0200) Subject: speed.cgi: Add requirement for general-functions.pl. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e99660d7d16b91914ecf1742c8302b3f6b8b2c4;p=people%2Fstevee%2Fipfire-2.x.git 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 --- 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;