Hi all,
i have some problems with "snprint_value" API.
I've written
these lines in a source file:

const oid data[] = {1,3,6,1,2,1,2,1,0};
char res[100];
const netsnmp_variable_list var;
int res2 =
snprint_value(res,sizeof(res),data,OID_LENGTH(data ),&var);

The result
is "Wrong Type (should be INTEGER): Variable has bad type", but if i do
a get on that OID it gives me the correct value.

What am I missing?


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: