public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] speed.cgi: Add requirement for general-functions.pl.
@ 2021-06-19 14:03 Stefan Schantl
  2021-06-20 19:12 ` Adolf Belka
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2021-06-19 14:03 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

The CGI now requires the general-functions library, because the
get_red_interface() function is used.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 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 @@
 #                                                                             #
 ###############################################################################
 
+require '/var/ipfire/general-functions.pl';
+
 my $data_last = $ENV{'QUERY_STRING'};
 my $rxb_last = 0;
 my $txb_last = 0;
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-20 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-19 14:03 [PATCH] speed.cgi: Add requirement for general-functions.pl Stefan Schantl
2021-06-20 19:12 ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox