On 6 June 2012 15:12, Magda Stefan <fane...@yahoo.com> wrote: > I have some printfs to see what value cache_expired return and it seems that > it's always 1.
Well, since you've set the expiry time to -1, then that's what you would expect! > Here is my complete code: > > #include <net-snmp/net-snmp-config.h> > #include <net-snmp/net-snmp-includes.h> > #include <net-snmp/agent/net-snmp-agent-includes.h> > #include "netSnmpPrvTable.h" And the netSnmpPrvTable.h ? Can I please have the *complete* code, sufficient to compile the agent. I don't have the time to try and guess what might be in the bits you haven't provided. Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users