Re: requesting help

2005-05-23 Thread Dave Shield
On Mon, 2005-05-23 at 16:15, 02MCMC43-mca-Yirdaw Gashaw wrote: > I use net_snmp_5.2.1, I have implemented a table using table iterator > method. But the cache is not working properly. I added > > netsnmp_inject_handler(reg, netsnmp_get_cache_handler(CACHE_TIMEOUT, >readDa

requesting help

2005-05-23 Thread 02MCMC43-mca-Yirdaw Gashaw
Hi all I use net_snmp_5.2.1, I have implemented a table using table iterator method. But the cache is not working properly. I added netsnmp_inject_handler(reg, netsnmp_get_cache_handler(CACHE_TIMEOUT, readData, storeData, table_oid, table_oid_len)) in "init_myModule" rout

Re: requesting help

2005-04-20 Thread Dave Shield
On Wed, 2005-04-20 at 20:23, 02MCMC43-mca-Yirdaw Gashaw wrote: > When I check the value of "request->requestvb->val.string" at > the begining of "MODE_SET_RESERVE1", it has additional characters > at it's end than the new string value I > entered with snmpset command. And what about 'request->req

requesting help

2005-04-20 Thread 02MCMC43-mca-Yirdaw Gashaw
While I am trying to set a string value in my table (implemented using table iterator method), the setting of the value takes place, but some characters added at the end of the new value. When I check the value of "request->requestvb->val.string" at the begining of "MODE_SET_RESERVE1", it has addit