Nishant Nayan <nayan.nishant2...@gmail.com> writes: > I debugged in snmpget.c till the section where the request is performed. > The errindex is getting set after the below function call (as one of > the properties of &response) :-
So the error index is not set by snmpget, but by the agent that snmpget is querying. snmpget is just pulling the answer and the count from the agent's response packet and not calculating it itself. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders