On Tue, 2005-04-12 at 20:25, Robert Story wrote: > On Tue, 12 Apr 2005 13:18:42 +0100 Dave wrote: > DS> > I linked in your code to my cvs tree, added a log msg to make sure it > was > DS> > it, and had no problems walking past the missing object. > DS> > DS> I also had a quick look at this problem last night, and was able > DS> to reproduce it immediately. > > Really? Which release/cvs tree?
Main development branch. I've just refreshed everything to be bang up-to-date, and tried again - with exactly the same results. Using the 'instance.c' file as it currently stands, a GetNext on a deliberately-failing scalar object returns 'noSuchObject'. With the patch I mentioned yesterday, it skips over this and returns the next valid value. Note that I'm not using Sridhar's example code file. I took an existing scalar object (which I knew to work), and forced it to return a noSuchObject exception. That felt a lot easier than trying to merge Sridhar's ifNumber implementation into the existing code. Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users