summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Decavel2009-09-08 11:11:19 +0200
committerBenjamin Decavel2009-09-08 11:11:19 +0200
commit383609eb663588cad61ef3909e613ae3ed6fe0f4 (patch)
treee78e93aa4ea0018f6c396a5bdf78ea4d2ed2ff23
parentfc147aa73f02b6e11496bda198e69effa4005eaf (diff)
SNMP agent: adminSNMPCommunity set to 0 for now, will investiguate what's expected to be returned
-rw-r--r--application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp b/application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp
index f611fc86bd..bf8bb2a2a9 100644
--- a/application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp
+++ b/application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp
@@ -2224,6 +2224,7 @@ nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity::nscrtv_eponeoc_mod_eoc_m
// the static pointer nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity::instance.
instance = this;
//--AgentGen BEGIN=modEoCCLTAdminSNMPCommunity::nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity
+ set_state(SnmpInt32(0));
//--AgentGen END
}
@@ -2241,7 +2242,7 @@ nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity::~nscrtv_eponeoc_mod_eoc_
void nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity::get_request(Request* req, int ind)
{
//--AgentGen BEGIN=modEoCCLTAdminSNMPCommunity::get_request
- char getValue[DEFAULT_SNMP_STRING_MAX_LENGTH];
+ /*char getValue[DEFAULT_SNMP_STRING_MAX_LENGTH];
if (SystemManager::instance()->getConfFileParam(getValue, SPIDLIB_ADMIN_PUBLIC_COMMUNITY_KEY, SPIDLIB_CONFIG_SYSTEM_PATH, DEFAULT_SNMP_STRING_MAX_LENGTH))
{
set_state(SnmpInt32(-1));
@@ -2252,7 +2253,7 @@ void nscrtv_eponeoc_mod_eoc_mib_modEoCCLTAdminSNMPCommunity::get_request(Request
set_state(SnmpInt32(0));
else
set_state(SnmpInt32(1));
- }
+ }*/
//--AgentGen END
MibLeaf::get_request(req, ind);
}