Ok, additional information.
Compare this line in v5.8:
https://sourceforge.net/p/net-snmp/code/ci/master/tree/agent/agent_trap.c#l358
with this line
https://sourceforge.net/p/net-snmp/code/ci/v5.7.3/tree/agent/agent_trap.c#l251
You will see that v5.7 does not set a source. And because it does not
My program is getting runned as a subagent. and in occurence of certain
event i am sending below function after filling the var_list
send_v2trap( var_list );
snmpd.conf has
trap2sink127.0.0.1:162
# send SNMPv2c INFORMs
informsink 127.0.0.1:162
but my t
If you have line:
trapsink localhost public
in your config v5.8 fails to start. Meanwhile v5.3 starts with no problems.
Am I missing something or is this a bug?.
This output was generated using exactly the same config
v5.8
# snmpd -Dnetsnmp_udpbase -Lo -f
registered debug token netsnmp_udpbas