/*
- * $Id: acl.cc,v 1.50 1996/10/13 09:16:32 wessels Exp $
+ * $Id: acl.cc,v 1.51 1996/10/15 04:58:23 wessels Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
}
default:
/* Note, must use plain gethostbyname() here because at startup
- ipcache hasn't been initialized */
+ * ipcache hasn't been initialized */
if ((hp = gethostbyname(asc)) != NULL) {
*addr = inaddrFromHostent(hp);
} else {
+
#include "squid.h"
typedef struct _client_info {
return 100 * c->result_hist[ICP_OP_DENIED] / c->n_icp;
}
-void
+void
clientdbDump(StoreEntry * sentry)
{
ClientInfo *c;
/*
- * $Id: comm.cc,v 1.90 1996/10/13 06:19:43 wessels Exp $
+ * $Id: comm.cc,v 1.91 1996/10/15 04:58:25 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
for (s = Config.mcast_group_list; s; s = s->next) {
debug(5, 10, "comm_join_mcast_groups: joining group %s on FD %d\n",
- s->key, fd);
+ s->key, fd);
mr.imr_multiaddr.s_addr = inet_addr(s->key);
mr.imr_interface.s_addr = INADDR_ANY;
if (setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP,
struct _net_db_name *x;
int k;
int i;
- storeAppendPrintf(sentry, "{Network DB Statistics:\n"); */ } */
+ storeAppendPrintf(sentry, "{Network DB Statistics:\n"); /* } */
storeAppendPrintf(sentry, "{%-16.16s %9s %7s %5s %s}\n",
"Network",
"recv/sent",
(QS) sortByHops);
for (k = 0; k < i; k++) {
n = *(list + k);
- storeAppendPrintf(sentry, "{%-16.16s %4d/%4d %7.1f %5.1f", /* } */
+ storeAppendPrintf(sentry, "{%-16.16s %4d/%4d %7.1f %5.1f", /* } */
n->network,
n->pings_recv,
n->pings_sent,