[AGENT++] Bad index_info for VacmViewTreeFamilyTable
Dave White | Networking
dave.white at efi.com
Sat Jun 18 03:17:44 CEST 2005
Hi,
The index_info structure used for the vacmViewTreeFamilyTable needs to be
changed (vacm.cpp). As it is, it prevents the subtree portion of the index
from containing sub-identifiers greater than 255. The second element of the
index should be sNMP_SYNTAX_OID instead of sNMP_SYNTAX_OCTETS. It should be
changed to the following:
const index_info iVacmViewTreeFamilyTable[2] =
{ { sNMP_SYNTAX_OCTETS, FALSE, 1, 32 }, { sNMP_SYNTAX_OID, FALSE, 0, 95 } };
I also have a question about the min and max values for the second element (0
and 95 respectively). Since OIDs can have at most 128 sub-identifiers,
should the max be changed to 128? Are there limits to the total size of the
index for a table entry (the sum of the size of each index element)? (Note
that 32+95=127.)
Regards,
Dave
_______________________________
Dave White
Sr. Software Engineer
(650) 357-3980
Dave.White at efi.com
More information about the AGENTPP
mailing list