From 0ed39362865c5ff9a0fd1467357d2fdb553ca6ef Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 24 Oct 1997 08:49:35 +0000 Subject: [PATCH] need to use LOG_UDP_DENIED as array index instead of ICP_OP_DENIED! Max Okumoto --- src/client_db.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client_db.cc b/src/client_db.cc index 1ad5c66acd..d39e6e5c6a 100644 --- a/src/client_db.cc +++ b/src/client_db.cc @@ -1,6 +1,6 @@ /* - * $Id: client_db.cc,v 1.17 1997/08/10 04:42:34 wessels Exp $ + * $Id: client_db.cc,v 1.18 1997/10/24 02:49:35 wessels Exp $ * * DEBUG: section 0 Client Database * AUTHOR: Duane Wessels @@ -101,7 +101,7 @@ clientdbDeniedPercent(struct in_addr addr) return 0; if (c->Icp.n_requests > 100) n = c->Icp.n_requests; - return 100 * c->Icp.result_hist[ICP_OP_DENIED] / n; + return 100 * c->Icp.result_hist[LOG_UDP_DENIED] / n; } void -- 2.47.3