mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Fix limit on top-domains, top-ads, and top-clients
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -419,7 +419,7 @@ void getTopDomains(char *client_message, int *sock)
|
||||
}
|
||||
|
||||
// Only count entries that are actually sent and return when we have send enough data
|
||||
if(n > count)
|
||||
if(n == count)
|
||||
break;
|
||||
}
|
||||
if(excludedomains != NULL)
|
||||
@@ -502,7 +502,7 @@ void getTopClients(char *client_message, int *sock)
|
||||
}
|
||||
|
||||
// Only count entries that are actually sent and return when we have send enough data
|
||||
if(n > count)
|
||||
if(n == count)
|
||||
break;
|
||||
}
|
||||
if(excludeclients != NULL)
|
||||
|
||||
Reference in New Issue
Block a user