Index out of range when using get_node

"Jelena Savic" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <069B6B31F6201B4389D7EEB9AD827BCA02F420B5@otis.burlington.evertz.tv>
Hi,

I have created a mib and all the indices are Integers.
Then i have an application that takes in a list of oids, and parses them using read_objid
(however the same problem occurs while using snmp_parse_oid or get_node)

I get the problem: 
Unknown object identifier: Index out of range 

if in my list of oids that need to be parsed, there is an oid with smaller number of subids before an oid with more subids.

so for example if i have 

1.3.6.1.4.1.6827.100.150.24.4.1.2.1

1.3.6.1.4.1.6827.100.150.24.4.1.3.3.1

will cause an error

but if i first parse all oids with more indices 
and then the ones will less, i would not have an error.

and i compile my application to be a shared object (arm_v5t_le), and i call it from tcl applications.

Thanks in advance



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.