Re: MAC Address As Index

2019-08-20 Thread Krishna Chaitanya
On Tue, Aug 20, 2019 at 6:14 PM Krishna Chaitanya wrote: > > Hi, > > When using MAC Address as an index ( I am using MacAddress type from > SNMPv2-TC.) the output is incorrect because the length of the string > is prefixed as mac address is defined as OCTET STR there is an extra > byte and the las

Re: Re: snmpwalk snmpbulkwalk problems/bug??

2019-08-20 Thread Jose Roberto Fernandez Anahia
Jose Roberto Fernandez Anahia writes: > I observed that my funcion My_Get_Table(struct variable *vp, oid > *name, size_t *length, int exact, size_t *var_len, WriteMethod > **write_method) > is called much more than 5 (five) 5 times!!! The upper code doesn't know how many entries you have, so it

MAC Address As Index

2019-08-20 Thread Krishna Chaitanya
Hi, When using MAC Address as an index ( I am using MacAddress type from SNMPv2-TC.) the output is incorrect because the length of the string is prefixed as mac address is defined as OCTET STR there is an extra byte and the last byte of mac address is interpreted as next OID. snmpwalk: HistVal