From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] graphs.pl: Change directory name to replace HOSTILE with HOSTILE_DROP - fixes bug#12838 Date: Mon, 04 Apr 2022 22:33:31 +0200 Message-ID: <20220404203331.3612132-2-adolf.belka@ipfire.org> In-Reply-To: <20220404203331.3612132-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8160695039608328391==" List-Id: --===============8160695039608328391== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Bernhard Bitsch - The directory name for the hostile data was using HOSTILE while the chain w= as called HOSTILE_DROP. This resulted in the files in the directory not being update= d. Fixes: bug#12838 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/cfgroot/graphs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index b964f1e80..3368e5aad 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -693,7 +693,7 @@ sub updatefwhitsgraph { "DEF:newnotsyn=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-f= ilter-NEWNOTSYN/ipt_bytes-DROP_NEWNOTSYN.rrd:value:AVERAGE", "DEF:portscan=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-fi= lter-PSCAN/ipt_bytes-DROP_PScan.rrd:value:AVERAGE", "DEF:spoofedmartian=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptab= les-filter-SPOOFED_MARTIAN/ipt_bytes-DROP_SPOOFED_MARTIAN.rrd:value:AVERAGE", - "DEF:hostile=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-fil= ter-HOSTILE/ipt_bytes-DROP_HOSTILE.rrd:value:AVERAGE", + "DEF:hostile=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-fil= ter-HOSTILE_DROP/ipt_bytes-DROP_HOSTILE.rrd:value:AVERAGE", "COMMENT:".sprintf("%-26s",$Lang::tr{'caption'}), "COMMENT:".sprintf("%15s",$Lang::tr{'maximal'}), "COMMENT:".sprintf("%15s",$Lang::tr{'average'}), --=20 2.35.1 --===============8160695039608328391==--