Hi,
I am implementing snmpset the index is a string index I used
following command to generate the .c and .h files
./mib2c -c mib2c.iterate.conf Vlan-MIB::VlanTable
The command is is
./snmpset -v 2c -c private localhost Vlan-MIB::Vlantype.\'lr\' i 1
But in the case MODE_SET_RESERVE1 I am printing the value of the index
but I am getting null
for (request = requests; request; request = request->next) {
table_info = netsnmp_extract_table_info(request);
printf("Vlan name is %s", table_info->indexes->val.string);
Same is working if the index is integer.
Regards,
Sasikumar.B
_______________________________________________
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