Commit Diff
--- main.c +++ main.c @@ -912,6 +912,9 @@ extends_output2_table(struct agentx_varbind *vb) strcmp(cmd->token, search.token) != 0) { agentx_varbind_notfound(vb); return; + } else { + if (strcmp(cmd->token, search.token) != 0) + lidx = 0; } if (!extends_cmd_ready(cmd)) { if ((cache = malloc(sizeof(*cache))) == NULL)
