summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Decavel2009-11-27 16:21:41 +0100
committerBenjamin Decavel2009-11-27 16:21:41 +0100
commit5c72ba40b22830234df97e99d2ad1b344f22fc8f (patch)
treeb4892aeefda035513c91840ca3da71e9d482f7c1
parent024421f5b7a60202ea47d63aa81e6e7afac27d27 (diff)
SNMP agent: added master_config call for modEoCCNUPortEN and modEoCCNUPortService too
-rw-r--r--application/agent/agent++/agentgen/agent/src/nscrtv_eponeoc_mod_eoc_mib.cpp10
1 files changed, 10 insertions, 0 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 430a7585bd..547eb65fdb 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
@@ -11004,6 +11004,11 @@ int nscrtv_eponeoc_mod_eoc_mib_modEoCCNUPortEN::set(const Vbx& vb)
syslog(LOG_DEBUG, "SNMP agent: error setting port entry");
return SNMP_ERROR_RESOURCE_UNAVAIL;
}
+
+ if (spidlib_master_config() != 0)
+ {
+ syslog(LOG_DEBUG, "SNMP agent: setting new config on master failed");
+ }
//--AgentGen END
return MibLeaf::set(vb);
}
@@ -11152,6 +11157,11 @@ int nscrtv_eponeoc_mod_eoc_mib_modEoCCNUPortService::set(const Vbx& vb)
syslog(LOG_DEBUG, "SNMP agent: error setting port entry");
return SNMP_ERROR_RESOURCE_UNAVAIL;
}
+
+ if (spidlib_master_config() != 0)
+ {
+ syslog(LOG_DEBUG, "SNMP agent: setting new config on master failed");
+ }
//--AgentGen END
return MibLeaf::set(vb);
}