]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
speed.cgi: Add requirement for general-functions.pl.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 19 Jun 2021 14:03:14 +0000 (16:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Jun 2021 12:37:33 +0000 (12:37 +0000)
The CGI now requires the general-functions library, because the
get_red_interface() function is used.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/speed.cgi

index 8acdb2bd8c16b0d027c87caf01d794ef9f551848..b550fda521b2619ba9865c54ef8fbd3ee47bfe52 100644 (file)
@@ -19,6 +19,8 @@
 #                                                                             #
 ###############################################################################
 
+require '/var/ipfire/general-functions.pl';
+
 my $data_last = $ENV{'QUERY_STRING'};
 my $rxb_last = 0;
 my $txb_last = 0;