On Tue, 17 Aug 2010 07:04:54 -0700 Wes wrote:
WH> Well, you didn't attach a patch.  But I suspect I'm going to say +1 when
WH> I see it.

d'oh!

attached
# alternative: move to netsnmp_check_outstanding_agent_requests() [which
# is really about delayed instances] or run_alarms()
#
diff --git a/net-snmp/agent/snmpd.c b/net-snmp/agent/snmpd.c
index e1e6cf4..36e4d7d 100644
--- a/net-snmp/agent/snmpd.c
+++ b/net-snmp/agent/snmpd.c
@@ -1252,6 +1252,11 @@ receive(void)
             }                   /* endif -- count>0 */
 
         /*
+         * see if persistent store needs to be saved
+         */
+        snmp_store_if_needed();
+
+        /*
          * run requested alarms 
          */
         run_alarms();
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to