2008/5/11 Magnus Fromreide <[EMAIL PROTECTED]>: > I stupidly trusted the helpers to do the right thing and tried to > register > > snmp.[1-6].0 > snmp.[8-22].0 > snmp.[24-29].0 > snmp.30.0 > > as scalar_groups (and a scalar) but the problem is that they all try to > register snmp in order to return a nothing here message.
Yes - the scalar_group "indexing" is a bit simplistic. What it really needs is a linked list of valid range structures (similar to the handling of table columns). The current netsnmp_get_scalar_group_handler() and netsnmp_register_scalar_group() routines would then become wrappers (or equivalent) around newer netsnmp_get_scalar_sparse_group_handler() and netsnmp_register_scalar_sparse_group() versions. It shouldn't be too difficult to do. (A Simple Matter of Programming :-)) Dave ------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
