mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Store real over-time counts of forwarded queries. So far, we counted only the first server a query was sent to.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -575,6 +575,7 @@ void DB_read_queries(void)
|
||||
upstreamsData *upstream = getUpstream(upstreamID, true);
|
||||
if(upstream != NULL)
|
||||
{
|
||||
upstream->overTime[timeidx]++;
|
||||
upstream->count++;
|
||||
upstream->lastQuery = queryTimeStamp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user