From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo-Andres Hofmann To: development@lists.ipfire.org Subject: [PATCH] getrrdimage.cgi: Fix supported origins list Date: Sat, 07 Aug 2021 22:42:07 +0200 Message-ID: <20210807204207.1713-1-hofmann@leo-andres.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6090558820716106652==" List-Id: --===============6090558820716106652== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- Well, to be honest, I just missed it while copy-pasting the origins and never= checked that list again. html/cgi-bin/getrrdimage.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/getrrdimage.cgi b/html/cgi-bin/getrrdimage.cgi index 92f8b585d..26bcf0905 100644 --- a/html/cgi-bin/getrrdimage.cgi +++ b/html/cgi-bin/getrrdimage.cgi @@ -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 =3D ("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"); =20 ### Process GET parameters ### # URL format: /?origin=3D[graph origin cgi]&graph=3D[graph name]&range=3D[ti= me range] --=20 2.27.0.windows.1 --===============6090558820716106652==--