snmp v3 traps in SNMP++v3.0h and AGENT++ API Version 3.4.1

bent-ivar.laholt____4tel.no bent-ivar.laholt____4tel.no
Tue Nov 14 11:58:31 CET 2000


Snmp v3 traps is not generated using SNMP++v3.0h and AGENT++ API Version
3.4.1 

The problem seems to be the following:

>From SNMP++v3.0h to SNMP++v3.0f in
snmpmsg.cpp:SnmpMessage::load
you have added an extra check: 
---diff begins---
450a452,462
>     if (status == SNMPv3_MP_OK) { 
>       if (pdu.get_maxsize_scopedpdu() < bufflen) {
---diff ends-----
At this point when we generate the trap the maxsize seems to be 0 (zero).
How can we make sure that this maxsize is configured, for example in the
add_v1_trap_destination method (or somewhere else)?


Regards

Bent Laholt



More information about the AGENTPP mailing list