]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
increment dnsserver replies
authorwessels <>
Thu, 29 Aug 1996 23:59:05 +0000 (23:59 +0000)
committerwessels <>
Thu, 29 Aug 1996 23:59:05 +0000 (23:59 +0000)
src/ipcache.cc

index cfa095788f06b4379bb68c0ca5adc7a9b983aec9..6e4a289cc092eb0eee7cd43570a93a19bf3ed9a5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ipcache.cc,v 1.51 1996/08/28 20:12:55 wessels Exp $
+ * $Id: ipcache.cc,v 1.52 1996/08/29 17:59:05 wessels Exp $
  *
  * DEBUG: section 14    IP Cache
  * AUTHOR: Harvest Derived
@@ -607,6 +607,7 @@ static int ipcache_dnsHandleRead(fd, dnsData)
        return 0;
     }
     n = ++IpcacheStats.replies;
+    DnsStats.replies++;
     dnsData->offset += len;
     dnsData->ip_inbuf[dnsData->offset] = '\0';
     i = dnsData->data;
@@ -769,7 +770,6 @@ static void ipcache_dnsDispatch(dns, i)
 /* initialize the ipcache */
 void ipcache_init()
 {
-
     debug(14, 3, "Initializing IP Cache...\n");
 
     memset(&IpcacheStats, '\0', sizeof(IpcacheStats));