On Sat, 25 Sep 2004 23:28:24 -0700 (PDT) Michael wrote:
MK> I'm using some mib2c.iterate.conf generated code to implement some tables 
MK> [...]
MK> Everything was fine doing gets and single-variable get-next walks, until I 
MK> tried looking at the table with a table viewer that sends a single request 
MK> containing all the columns to get a row at a time.

I remember a multi-varbind bug in the interator stuff not to long ago, but
believe it was fixed. Are you using the most recent version (5.1.2)? If not,
try it. Since I don't recall the details of the previous problem, I can't
guarantee it will help, though. A quick peek at the code didn't leave me too
optimistic.


MK> I was under the impression that the data context was supposed to be 
MK> per-row, not per variable.  Is this not how it's intended to be used?

That would be my expectation as well.

A workaround would be to add a reference count to your data context, or (if
you can't change the data context) use an intermediate structure with a
reference count.

-- 
Robert Story; NET-SNMP Junkie <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. 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to