From: Francesco Chemolli Date: Fri, 25 Dec 2009 22:12:48 +0000 (+0100) Subject: Fixed bug which manifests when snmp is enabled together with external dns helpers. X-Git-Tag: SQUID_3_2_0_1~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=471f1b3f5ed8e251aab7d22fc57fb00a6b4ebcc8;p=thirdparty%2Fsquid.git Fixed bug which manifests when snmp is enabled together with external dns helpers. --- diff --git a/src/dns.cc b/src/dns.cc index 8fff83d17a..29e4e991a0 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -168,7 +168,7 @@ snmp_netDnsFn(variable_list * Var, snint * ErrP) case DNS_SERVERS: Answer = snmp_var_new_integer(Var->name, Var->name_length, - dnsservers->n_running, + dnsservers->childs.n_running, SMI_COUNTER32); break;