]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cacheCurrentResFileDescrCnt was reporting "Number_FD" rather than
authorwessels <>
Thu, 25 Jan 2001 05:38:25 +0000 (05:38 +0000)
committerwessels <>
Thu, 25 Jan 2001 05:38:25 +0000 (05:38 +0000)
RESERVED_FD.  Note the MIB doesn't have a variable for the number
of filedescriptors currently open.

src/snmp_agent.cc

index 33d90156ba2dd9239a1a2fd0943dc65fde0b6353..1659bec5962a2a6f98fca461e4bd2cc1cd940ce1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: snmp_agent.cc,v 1.78 2001/01/12 00:37:20 wessels Exp $
+ * $Id: snmp_agent.cc,v 1.79 2001/01/24 22:38:25 wessels Exp $
  *
  * DEBUG: section 49     SNMP Interface
  * AUTHOR: Kostas Anagnostakis
@@ -296,7 +296,7 @@ snmp_prfSysFn(variable_list * Var, snint * ErrP)
        break;
     case PERF_SYS_CURRESERVED_FD:
        Answer = snmp_var_new_integer(Var->name, Var->name_length,
-           (snint) Number_FD,
+           (snint) RESERVED_FD,
            SMI_GAUGE32);
        break;
     case PERF_SYS_NUMOBJCNT: