Re: What is the proper behavior for a GET when MFD_SKIP is returned?

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20050914163746.693b94d3@aud>
On Wed, 14 Sep 2005 09:18:01 +0100 Dave wrote:
DS> On Tue, 2005-09-13 at 08:38 -0700, Tom Cumming wrote:
DS> > I am writing an agent using 5.2.1 and mib2c/mfd. If my agent 
DS> > receives a GET request, but the column has not been implemented yet, I 
DS> > return MFD_SKIP. If I use snmpget to kick off a GET request, the 
DS> > *_interface.c code returns ASN_PRIV_RETRY and no error.
DS> 
DS> But if a given object doesn't exist at all, then the usual
DS> behaviour is for a MIB implementation module to return a
DS> 'noSuchObject' error (exception).

Yep. Tom found a bug in the generated code, as discussed on coders.

-- 
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-users>

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.