Hi,
I have a MIB module that uses netsnmp_register_scalar() which realloc's the
given root oid to have one more space in it, so that
the netsnmp_scalar_helper_handler can use that space to store the ".0"
instance during the handling of a request.
This all works fine, until we register an instance
I happened to get to talk to Wes about this, and his answer was basically
that these things were not meant to be mixed in this way. I have since
changed my code to use netsnmp_register_scalar when I want to shadow a
scalar, and that works fine.
Bill
On Wed, Nov 9, 2022 at 8:36 AM Bill Fenner