]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
graphs.pl: Change directory name to replace HOSTILE with HOSTILE_DROP - fixes bug...
authorBernhard Bitsch <bbitsch@ipfire.org>
Mon, 4 Apr 2022 20:33:31 +0000 (22:33 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 6 Apr 2022 17:04:23 +0000 (17:04 +0000)
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
config/cfgroot/graphs.pl

index b964f1e8072cc7191ddcbf6ce7083d7a88d3e27c..3368e5aad29583270d91b7c3d5f6d27db8973037 100644 (file)
@@ -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'}),