Could anyone point me in the right direction concerning my MIB module? Do I
need to implement it in a different way and/or am I missing something?
It does not seem like request for any child elements of test are directed to
its handler. Though if I register all 3 scalars with same handler method
(put aside that my OID comparison does not work). Is there any other way to
do this or do I really need to register all scalars this way?
............................................................................
.......................
Wrong:
snmp_set_var_typed_value(requests->requestvb,
ASN_OCTET_STR,
datapointer,
sizeof(datapointer));
right
snmp_set_var_typed_value(requests->requestvb,
ASN_OCTET_STR,
&datapointer,
sizeof(datapointer));
_____
CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be
proprietary, confidential or subject to export regulations, and is only
meant
for the intended recipient(s). Any disclosure, copying, distribution or use
is
prohibited, if not otherwise explicitly agreed with KONGSBERG. If received
in
error, please delete it immediately from your system and notify the sender
properly.
_____
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders