Last 12 Months pie chart in lfd blocking statistics showing "last 30 days" data

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
rectifier
Junior Member
Posts: 5
Joined: 09 Dec 2014, 21:10

Last 12 Months pie chart in lfd blocking statistics showing "last 30 days" data

Post by rectifier »

The Last 12 Months pie chart in lfd blocking statistics is showing the "last 30 days" data instead.

I think this might just be a copy/paste error in ServerStats.pm

Code: Select all

$year_pie_graph->plot(\@hpiedata);
I think that should be:

Code: Select all

$year_pie_graph->plot(\@ypiedata);
I've tested the fix on my own servers and it looks good to me.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Last 12 Months pie chart in lfd blocking statistics showing "last 30 days" data

Post by ForumAdmin »

Thank you for reporting that. We'll have a fix for it in the next release of csf.
Post Reply