| Newsgroups |
gmane.network.net-snmp.user |
| Message-ID |
<[email protected]> |
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?
thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users