Hi Dave,
I've found the source of the bug. As all bug, it was a silly mistake.
Initially, I've set the RowIndex on Table2 to OctetString while studying the
data_set.c source code. I've decided to change it to Integer32 which is more
practical.
by DEBUGMSGTL, the code ends while executing
....
switch (table_info->colnum){
case COLUMN_ROWINDEX:
snmp_set_var_typed_value(request->requestvb,
ASN_INTEGER,
(int *) &table_entry->RowIndex,
strlen(table_entry->RowIndex));
break;
}
as you know, it should be sizeof(table_entry->RowIndex);
table.c does have this right.
Thanks for your help!!
Leo;
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users