Re: row_prep() returning MFD_SKIP results in error

This is a discussion on Re: row_prep() returning MFD_SKIP results in error within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 20 Jun 2007 12:50:17 -0700 (PDT) Need wrote: NH> I looked around the code a ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-21-2007
Robert Story
 
Posts: n/a
Default Re: row_prep() returning MFD_SKIP results in error

On Wed, 20 Jun 2007 12:50:17 -0700 (PDT) Need wrote:
NH> I looked around the code a bit and noticed some things which might explain the reason for this occurring. In the "_mfd_ocStbHostAnalogVideoTable_object_lookup( )" routine the following code exists:
NH>
NH> for (req=requests; req; req=req->next)
NH> req->requestvb->type = SNMP_NOSUCHINSTANCE;

I forgot we were setting this directly, so processed wasn't set.

NH> 2) As a result of (1) above, I decided to try the following code in the "_mfd_ocStbHostAnalogVideoTable_get_values()" routine which checks to check for the "requestvb->type" field instead:
NH>
NH> if (requests->requestvb->type == SNMP_NOSUCHINSTANCE)
NH> continue;

It works, so you can leave it. But if I get around to updating the MfD code,
I'll be using processed as well...

-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0