mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-30 13:00:38 +00:00
Split failed queries in retries in stat counting.
This commit is contained in:
4 files changed
+11
-6
No files matched your search
+3
-1
@@ -389,8 +389,10 @@ static int forward_query(int udpfd, union mysockaddr *udpaddr,
|
||||
#endif
|
||||
{
|
||||
/* retry on existing query, from original source. Send to all available servers */
|
||||
if (!fast_retry)
|
||||
if (udpfd == -1 && !fast_retry)
|
||||
forward->sentto->failed_queries++;
|
||||
else
|
||||
forward->sentto->retrys++;
|
||||
|
||||
if (!filter_servers(forward->sentto->arrayposn, F_SERVER, &first, &last))
|
||||
goto reply;
|
||||
|
||||
Reference in new issue
Block a user