From: hno <> Date: Sun, 2 Mar 2003 00:31:17 +0000 (+0000) Subject: date: 2003/02/11 05:22:12; author: wessels; state: Exp; lines: +1 -1 X-Git-Tag: SQUID_3_0_PRE1~298 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e494f5e990c06da093e316495cc795db2a732c21;p=thirdparty%2Fsquid.git date: 2003/02/11 05:22:12; author: wessels; state: Exp; lines: +1 -1 make the ...cacheDnsNumberServers OID return the number of name servers, rather than 0, for the internal DNS case. For the external DNS case, this OID returns the number of (running) dnsserver helper processes. --- diff --git a/src/dns_internal.cc b/src/dns_internal.cc index 2636eb3869..34b95aebed 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -1,6 +1,6 @@ /* - * $Id: dns_internal.cc,v 1.54 2003/02/23 00:08:03 robertc Exp $ + * $Id: dns_internal.cc,v 1.55 2003/03/01 17:31:17 hno Exp $ * * DEBUG: section 78 DNS lookups; interacts with lib/rfc1035.c * AUTHOR: Duane Wessels @@ -902,6 +902,7 @@ snmp_netIdnsFn(variable_list * Var, snint * ErrP) case DNS_SERVERS: Answer = snmp_var_new_integer(Var->name, Var->name_length, + nns, 0, SMI_COUNTER32);