if you have:
1. perl compiled without 64bit integers
2. AgentX in perl
3. Counter64 data to return
the only way to pass 64-bit data to agent is string representation. Using strtoull() instead of strtoul() helps to achieve this.
Thanks for the patch! It has been applied to the 5.2.x, 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fix to use Counter64 in perl subagent
Thanks for the patch! It has been applied to the 5.2.x, 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.
SVN revision 17846