Tom Cumming wrote:
> Robert Story wrote:
>> On Fri, 09 Sep 2005 09:44:50 -0700 Tom wrote:
>> TC> Where did I go wrong?
>> The code is right, so you've hit a bug somewhere.
Yup. I sure did, and I found it, and it wasn't your code....
However, when I do a GET request with snmpget, it timesout with:
send response: Error building ASN.1 representation (wrong type in
snmp_realloc_rbuild_var_op: 199)
... in snmpd.log.
I'm still not sure what the code generated by mib2c/mfd is supposed
to do with a GET request when my _${context}_get_column(.. ) routine
returns MFD_SKIP. By looking at the generated code (in
_mfd_${context}_get_values(...)), it is behaving as coded, but I have a
hard time believing it's correct. The only thing I can think of is that
my _mfd_${context}_get_values(.. ) routine is supposed to check if it's
a GETNEXT or GET then return MFD_SKIP or MFD_ERROR respectively. I don't
think that's the case.
Oh, ya. I'm running 5.2.1.2 installed from
net-snmp-5.2.1.2-1.fc4.i386.rpm.
tom.c
--------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and contains information that is
confidential and proprietary to Applied Micro Circuits Corporation or its
subsidiaries. It is to be used solely for the purpose of furthering the
parties' business relationship. All unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders