]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
debug stuff
authorwessels <>
Sun, 15 Dec 1996 01:54:58 +0000 (01:54 +0000)
committerwessels <>
Sun, 15 Dec 1996 01:54:58 +0000 (01:54 +0000)
src/cachemgr.cc
src/client_db.cc
src/event.cc
src/pinger.cc

index ee91b6e8ac6367f620d23ce0eef74b7dad3df641..bce9e017b0e243ca3294cdf04fa7edc6340f6d2d 100644 (file)
@@ -1,8 +1,8 @@
 
 /*
- * $Id: cachemgr.cc,v 1.47 1996/11/25 06:15:29 wessels Exp $
+ * $Id: cachemgr.cc,v 1.48 1996/12/14 18:54:58 wessels Exp $
  *
- * DEBUG: Section 0     CGI Cache Manager
+ * DEBUG: section 0     CGI Cache Manager
  * AUTHOR: Harvest Derived
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
index b0e2f9180ef2310f4a524024658a83156cca1156..211949daf64f45058152aff8251af1fd3161f400 100644 (file)
@@ -1,8 +1,8 @@
 
 /*
- * $Id: client_db.cc,v 1.7 1996/12/13 22:26:35 wessels Exp $
+ * $Id: client_db.cc,v 1.8 1996/12/14 18:54:59 wessels Exp $
  *
- * DEBUG: section       Client Database
+ * DEBUG: section 0     Client Database
  * AUTHOR: Duane Wessels
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
index 385b538707c8d94c67e0b90ab9aa07e40d238d13..0dad20a4ac4e5f6db101b0728871835f25287356 100644 (file)
@@ -1,8 +1,8 @@
 
 /*
- * $Id: event.cc,v 1.2 1996/11/14 19:02:15 wessels Exp $
+ * $Id: event.cc,v 1.3 1996/12/14 18:54:59 wessels Exp $
  *
- * DEBUG: Section 41    Event Processing
+ * DEBUG: section 41    Event Processing
  * AUTHOR: Henrik Nordstrom
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
index ab2acffa52d584f053bbaf2c456897c6f30aeb25..653296d60bee7077b3ca29dd147bfa269f0d578b 100644 (file)
@@ -1,9 +1,8 @@
 
-
 /*
- * $Id: pinger.cc,v 1.17 1996/11/15 07:51:11 wessels Exp $
+ * $Id: pinger.cc,v 1.18 1996/12/14 18:55:00 wessels Exp $
  *
- * DEBUG: section 37    ICMP Routines
+ * DEBUG: section 42    ICMP Pinger program
  * AUTHOR: Duane Wessels
  *
  * SQUID Internet Object Cache  http://squid.nlanr.net/Squid/
@@ -121,7 +120,7 @@ pingerOpen(void)
 {
     struct protoent *proto = NULL;
     if ((proto = getprotobyname("icmp")) == 0) {
-       debug(37, 0, "pingerOpen: unknown protocol: icmp\n");
+       debug(42, 0, "pingerOpen: unknown protocol: icmp\n");
        exit(1);
     }
     icmp_sock = socket(PF_INET, SOCK_RAW, proto->p_proto);
@@ -130,7 +129,7 @@ pingerOpen(void)
        exit(1);
     }
     icmp_ident = getpid() & 0xffff;
-    debug(37, 0, "ICMP socket opened\n", icmp_sock);
+    debug(42, 0, "ICMP socket opened\n", icmp_sock);
 }
 
 void
@@ -202,7 +201,7 @@ pingerRecv(void)
        (struct sockaddr *) &from,
        &fromlen);
     gettimeofday(&now, NULL);
-    debug(37, 9, "pingerRecv: %d bytes from %s\n", n, inet_ntoa(from.sin_addr));
+    debug(42, 9, "pingerRecv: %d bytes from %s\n", n, inet_ntoa(from.sin_addr));
     ip = (struct iphdr *) (void *) pkt;
 #if HAVE_IP_HL
     iphdrlen = ip->ip_hl << 2;
@@ -255,7 +254,7 @@ in_cksum(unsigned short *ptr, int size)
 static void
 pingerLog(struct icmphdr *icmp, struct in_addr addr, int rtt, int hops)
 {
-    debug(37, 2, "pingerLog: %9d.%06d %-16s %d %-15.15s %dms %d hops\n",
+    debug(42, 2, "pingerLog: %9d.%06d %-16s %d %-15.15s %dms %d hops\n",
        (int) current_time.tv_sec,
        (int) current_time.tv_usec,
        inet_ntoa(addr),