On Fri, 09 Sep 2005 11:18:33 -0700 Tom wrote:
TC> >The code is right, so you've hit a bug somewhere.
TC> >
TC>     I'm surprised. I assumed that there were a lot of people using this 
TC> code in the same manner I am, so if there were any bugs, someone would 
TC> have hit'em already. That's why I assumed I had it wrong somewhere.

MFD is new in 5.2, so there are still some wrinkles to be worked out.

TC>    BTW., the snmpd log output during a snmpget showed, 
TC> "snmp_realloc_rbuild_var_op: 199". 199 is 0xC7, and that's 
TC> ASN_PRIV_RETRY. I suspect it's set in my *interface.c file, in int 
TC> _mfd_amccRaidControllerTable_get_values(netsnmp_mib_handler *handler,
TC> 
TC> The code looks like:
TC> 
TC>         rc = _amccRaidControllerTable_get_column(rowreq_ctx,  
TC> requests->requestvb, tri->colnum);
TC>         if (rc) {
TC>             if (MFD_SKIP == rc) {
TC>                 requests->requestvb->type = ASN_PRIV_RETRY;

Yeah, that's it. Update that to:

            if(MFD_SKIP == rc) {
                requests->requestvb->type = SNMP_NOSUCHINSTANCE;


-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to