]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
getrrdimage.cgi: Fix supported origins list
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Sat, 7 Aug 2021 20:42:07 +0000 (22:42 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 12 Sep 2021 09:34:08 +0000 (09:34 +0000)
Support for the graphs of "services.cgi" is implemented,
but it was forgotten to add this to the list of origins.
This patch fixes the list and prevents possibly missing graphs.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/getrrdimage.cgi

index 92f8b585daecc6ea554a29cc15ba3cdffdc95d11..26bcf09051e3dda0af07593346e0f3f71f7a48ac 100644 (file)
@@ -36,8 +36,8 @@ require "${General::swroot}/graphs.pl";
 # List of graph origins that getrrdimage.cgi can process directly
 # (unknown origins are forwarded to ensure compatibility)
 my @supported_origins = ("entropy.cgi", "hardwaregraphs.cgi", "media.cgi",
-       "memory.cgi","netexternal.cgi", "netinternal.cgi", "netother.cgi",
-       "netovpnrw.cgi", "netovpnsrv.cgi", "qos.cgi", "system.cgi");
+       "memory.cgi", "netexternal.cgi", "netinternal.cgi", "netother.cgi",
+       "netovpnrw.cgi", "netovpnsrv.cgi", "qos.cgi", "services.cgi", "system.cgi");
 
 ### Process GET parameters ###
 # URL format: /?origin=[graph origin cgi]&graph=[graph name]&range=[time range]