commit a424a0a515bf4cc2b37e0eb00cbf2e2a58ae0263 from: Martijn van Duren date: Tue Nov 3 18:41:24 2026 UTC If cmd increments, lineindex should reset. commit - 800d13cc524ba74d9cce7cbcf9e32dda01af9179 commit + a424a0a515bf4cc2b37e0eb00cbf2e2a58ae0263 blob - c5c35522503ee125dae199235b8f0d320d75dcca blob + 9d0913383709c6909b2f70521b98c05310bab639 --- 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)