Oops, it turns out that the reason that it works is because the agentx
session is in the session list that is always iterated over, so, this fix
is wrong: we should just silently ignore agentx sessions in this code.
--
Chec
On Wed, Mar 21, 2018 at 10:58 AM Bill Fenner wrote:
> The new code in net-snmp 5.8 that tries to account for v1 or v2 trap
> sessions logs an error from an agentx subagent, since the agentx code
> registers the session as being AGENTX_VERSION_1. This constant is only
> defined in the agentx code
The new code in net-snmp 5.8 that tries to account for v1 or v2 trap
sessions logs an error from an agentx subagent, since the agentx code
registers the session as being AGENTX_VERSION_1. This constant is only
defined in the agentx code, so agent_trap.c doesn't know what it is.
I suspect that thi