inetmib1: Don't query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time.
This commit is contained in:
parent
9b65338ef9
commit
f95324c69e
|
@ -1371,7 +1371,7 @@ BOOL WINAPI SnmpExtensionQuery(BYTE bPduType, SnmpVarBindList *pVarBindList,
|
|||
* so we have to continue until an implementation handles the
|
||||
* query or we exhaust the table of supported OIDs.
|
||||
*/
|
||||
for (; error == SNMP_ERRORSTATUS_NOSUCHNAME &&
|
||||
for (matchingIndex++; error == SNMP_ERRORSTATUS_NOSUCHNAME &&
|
||||
matchingIndex < DEFINE_SIZEOF(supportedIDs);
|
||||
matchingIndex++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue