Hello,
I have used
mib2c.iterate.conf to generate code for my tables.
If I do not have a
proper value to return for a get/getnext request in the handler routine and want
to return to the request sending application a 'no name' or 'no such instance'
error, how can I do so programatically?
I tried returning
from the handler without setting the value ( I set value using
snmp_set_var_typed_value( ) ), but this gives unpredictable result in case of
getnext.
I really want to be
able to set some error in the handler routine.
I am sure this must
be possible but don't know how? I did not find any suitable parameter in
netsnmp_variable_list or other structures that I might set indicating error (or
error code).
Please guide as to
how I may achieve this.
Thanks and warmest
regards,
Viren
