]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
date: 2003/02/11 05:22:12; author: wessels; state: Exp; lines: +1 -1
authorhno <>
Sun, 2 Mar 2003 00:31:17 +0000 (00:31 +0000)
committerhno <>
Sun, 2 Mar 2003 00:31:17 +0000 (00:31 +0000)
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.

src/dns_internal.cc

index 2636eb38697e4dee3ac09d28b6c9f07fc2466048..34b95aebed4d6ad118a814ad1a75bd0d81036cb9 100644 (file)
@@ -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);