>>>>> On Sat, 19 Nov 2005 17:02:43 +0530, <[EMAIL PROTECTED]> said:


siddesh> I have one property MIB scalar of data type defined as
siddesh> "unsigned int". I had instrumented code for this scalar. In
siddesh> the code to set value for that scalar attribute i am getting
siddesh> it from
requests-> agent_req_info->asp->pdu->variables->val.integer.

Comment #1:  that's the wrong place to retrieve the value from.  Get
it from requests->requestvb variable structure instead.  See the
tutorial for more information about the requests linked list.

Comment #2:  get it via:  ((unsigned int) *(requests->requestvb->val.integer))

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to