[Sorry for the delay in responding to this]

On 17 February 2011 06:34, sujata patra <[email protected]> wrote:
> I have used mib2c.iterate.conf and using cache to generate the code. it
> frees everytime cache expires by calling XXXTable_free() function. caching
> is excellent feature.
> I was expecting that once the memory is freed up , it will be reloaded when
> there is a snmp request(snmpwalk ) from the client. But It does not reload ,
> It shows the data from cache.

Try setting the flag 'expired' to 0 within the cache data structure.
That will force a re-load the next time that the cache is consulted.

Dave

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to