From: Michael Tremer Date: Mon, 12 Oct 2020 10:27:15 +0000 (+0000) Subject: firewall hits graph: Fix order of values X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79131c6e47e535452625028477101ec59203e476;p=people%2Fms%2Fipfire-2.x.git firewall hits graph: Fix order of values The fields were mixed up and therefore graph showed incorrect values. Fixes: #12496 Signed-off-by: Michael Tremer --- diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index 04f038be17..aced991256 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -700,13 +700,13 @@ sub updatefwhitsgraph { "GPRINT:input:LAST:%8.1lf %sBps\\j", "STACK:newnotsyn".$color{"color14"}."A0:".sprintf("%-25s","NewNotSYN"), "GPRINT:newnotsyn:MAX:%8.1lf %sBps", - "GPRINT:newnotsyn:MIN:%8.1lf %sBps", "GPRINT:newnotsyn:AVERAGE:%8.1lf %sBps", + "GPRINT:newnotsyn:MIN:%8.1lf %sBps", "GPRINT:newnotsyn:LAST:%8.1lf %sBps\\j", "STACK:portscan".$color{"color16"}."A0:".sprintf("%-25s",$Lang::tr{'portscans'}), "GPRINT:portscan:MAX:%8.1lf %sBps", - "GPRINT:portscan:MIN:%8.1lf %sBps", "GPRINT:portscan:AVERAGE:%8.1lf %sBps", + "GPRINT:portscan:MIN:%8.1lf %sBps", "GPRINT:portscan:LAST:%8.1lf %sBps\\j", ); $ERROR = RRDs::error; diff --git a/config/rootfiles/core/152/filelists/files b/config/rootfiles/core/152/filelists/files index 367c4b56a4..ceb904c64e 100644 --- a/config/rootfiles/core/152/filelists/files +++ b/config/rootfiles/core/152/filelists/files @@ -10,3 +10,4 @@ etc/rc.d/init.d/networking/any etc/rc.d/init.d/networking/red srv/web/ipfire/cgi-bin/credits.cgi usr/local/bin/setaliases +var/ipfire/graphs.pl