had some problems with capital letters
OK now
thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Wednesday, December 12, 2007 2:23 PM
To: Rotem Tzuk
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: index shown as dot separated
On 12/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> I have a table that is is indexed by integer & string:
> When I run snmpget MyMIB::MyVal.1, the indexes of the result items are
> ID = 1, name = "Station1"
> I get a correct result but the string Station1 is displayed as ascii values
> separa
hi again
I have a table that is is indexed by integer & string:
netsnmp_table_helper_add_indexes(
table_info, // the table
ASN_INTEGER, // ID
ASN_OCTET_STR, // name
0);
In my iterator handler I set both values:
vptr = put_index_data;
snmp_set_var_value(vptr, (u_char *)&id, sizeof(int) );
v