From: Bernhard Bitsch Date: Mon, 4 Apr 2022 20:33:31 +0000 (+0200) Subject: graphs.pl: Change directory name to replace HOSTILE with HOSTILE_DROP - fixes bug... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4ea277285f6a28c3f4bcdfd1559b37d51662d2d;p=people%2Fms%2Fipfire-2.x.git graphs.pl: Change directory name to replace HOSTILE with HOSTILE_DROP - fixes bug#12838 - The directory name for the hostile data was using HOSTILE while the chain was called HOSTILE_DROP. This resulted in the files in the directory not being updated. Fixes: bug#12838 Tested-by: Adolf Belka Signed-off-by: Adolf Belka Reviewed-by: Bernhard Bitsch --- diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index b964f1e807..3368e5aad2 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -693,7 +693,7 @@ sub updatefwhitsgraph { "DEF:newnotsyn=".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-filter-NEWNOTSYN/ipt_bytes-DROP_NEWNOTSYN.rrd:value:AVERAGE", "DEF:portscan=".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-filter-PSCAN/ipt_bytes-DROP_PScan.rrd:value:AVERAGE", "DEF:spoofedmartian=".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-filter-SPOOFED_MARTIAN/ipt_bytes-DROP_SPOOFED_MARTIAN.rrd:value:AVERAGE", - "DEF:hostile=".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-filter-HOSTILE/ipt_bytes-DROP_HOSTILE.rrd:value:AVERAGE", + "DEF:hostile=".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-filter-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'}),