On Thu, 14 Jun 2007 08:42:11 -0700 (PDT) Need wrote:
NH> I had my code return a MFD_SKIP for the 3rd row in the table.   After 
making the changes you recommended, the first two rows are displayed, but then 
the "snmpwalk" finishes completely with no errors.   It just displayed "End of 
MIB"
NH> 
NH> So, the error is gone, but unfortunately walking through the MIB does not 
continue with the 4th row ....

Ok, try:

     else {
         rc = ifTable_row_prep(rowreq_ctx);
         if (MFD_SKIP == rc) {
              netsnmp_request *req;
              for(req=requests; req; req = request->next)
                  req->requestvb->type = SNMP_NOSUCHINSTANCE;
              rc = SNMP_ERR_NOERROR;
         }
     }

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to