Re: Binding Values succed, little problem with reloading the values

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYtimzC9c2CBE7hFDek1Chr8Kbu8k9XE+O=CGKhXqRc9Q@mail.gmail.com>
On 6 June 2012 15:12, Magda Stefan <[email protected]> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.