I expected the index to refer to the number of rows in my table. So if I have 2 rows, every number higher than 2 will yield row 2. Should I use an integer index to achieve this behavior?
Rotem -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, December 11, 2007 5:47 PM To: Rotem Tzuk Cc: net-snmp-users@lists.sourceforge.net Subject: Re: possible bug in getnext implementation On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote: > it's indexed by string value. > I use a name as index In which case, if the row index string is "Station1" (length 8), then a GETNEXT request for someColumn.9 would indeed move on to the next column. The OID of this instance would be someColumn.8.'S'.'t'.'a'.'t'.'i'.'o'.'n'.'1' so someColumn.9 is lexically greater. The only time you would get another instance of the same column would be if you had a row with a string index of length 9 (or more). Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users