On a 64 bit big endian system the following unit test fails with net-snmp version 5.5.2.1:
61:testing if snmpnetstat finds the running agent in udpTable...FAIL
This is because addr is defined as a long instead of a in_addr_t within udpTable_next_entry.
Patch has been tested on 64 bit SPARC Linux 2.6.39
Thank. Applied.