Problem upgrading from SNMP++ 3.2.21 to version 3.5.1

Hi,
I have been tasked with upgrading an old but still in use project and I have an issue when compiling against SNMP++ 3.5.1

The 3 parameter version of Snmp::trap() is no longer in uxsnmp.h
It used to be:
virtual int trap(Pdu &pdu, const SnmpTarget &target, int protocol);

Please advise.
Cheers,
Alistair

Hi,

the Snmp::trap() function in all versions from 3.2.9 to 3.5.1 did not have a third parameter. So someone should give you the documentation about the reasons for the modifications.

I could upload the original version of snmp++ v3.2.21 if you don’t have it anymore.

Kind regards,
Jochen

Hi Jochen,

Thanks for the reply.
Digging back through SubVersion it does look like our original project team would have added this method back in 2007. Sadly they’re no longer available for questioning and the original code is not in our SVN.
If I would very useful to have access to the original v3.2.21 code so I can see what else they changed.

Thanks,
Alistair.

Hi,

you can find the version 3.2.21 and 3.2.21a here:

Kind regards,
Jochen

Hi Jochen,
Thank you for your assistance.
Alistair