Re: Segfault in snmp_oid_compare ()

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/5/6 김성호 <[email protected]>:
> lsmCRDPEntry OBJECT-TYPE
>        INDEX         { lsmCRDPTransactionID, lsmCRDPFileName,
>                             lsmCRDPServerID }
>        ::= { lsmCRDPTable 1 }
>
> LsmCRDPEntry ::=
>        SEQUENCE {
>                                lsmCRDPTransactionID
>                                                Counter64,

Sorry - that is not valid with SNMP.
You can't use Counters as table indexes.
See RFC 2578, section 7.7
  (in particular, the second paragraph
after the list of 6 encodings)

You'll need to define lsmCRDPTransactionID
as an Unsigned32 (or similar)

You shouldn't really use Counter64 for lsmCRDPFileSize
either.   Please review the semantics of the Counter syntax.

Dave

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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.