ndt-dev - [ndt-dev] [ndt] r1211 committed - Use TOTAL_NUM_VARS variable if userland > 2.0.7 is installed
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r1211 committed - Use TOTAL_NUM_VARS variable if userland > 2.0.7 is installed
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r1211 committed - Use TOTAL_NUM_VARS variable if userland > 2.0.7 is installed
- Date: Thu, 19 Mar 2015 12:19:18 +0000
Revision: 1211
Author:
Date: Thu Mar 19 12:19:05 2015 UTC
Log: Use TOTAL_NUM_VARS variable if userland > 2.0.7 is installed
https://code.google.com/p/ndt/source/detail?r=1211
Modified:
/branches/Issue167/src/web100-util.c
=======================================
--- /branches/Issue167/src/web100-util.c Wed Jun 4 10:51:11 2014 UTC
+++ /branches/Issue167/src/web100-util.c Thu Mar 19 12:19:05 2015 UTC
@@ -134,7 +134,11 @@
return (count_vars);
#elif USE_WEB10G
- return TOTAL_INDEX_MAX;
+ #ifdef ESTATS_MIB_VAR_H
+ return TOTAL_NUM_VARS;
+ #else
+ return TOTAL_INDEX_MAX;
+ #endif
#endif
}
- [ndt-dev] [ndt] r1211 committed - Use TOTAL_NUM_VARS variable if userland > 2.0.7 is installed, ndt, 03/19/2015
Archive powered by MHonArc 2.6.16.