On 09/10/06, Mr Right <[EMAIL PROTECTED]> wrote: > Can you please > explain me in > more detail why such a behaviour in 64bit processor ? So that our > net-snmp-users group can get to know the reason behind this.
The "reason" is that it's a bug. Most of the code has been developed on 32-bit systems, where a "long" variable is the correct size for a (32-bit) IP address. So sending an IP value could use "sizeof(long)" - exactly like the various integer-based types. This assumption fails on 64-bit systems, where "sizeof(long)" is typically 8 bytes. > I came to know from the release notes of net-snmp version 5.3.1 that some > ipaddress encoding issue has been fixed for 64bit processor. You still haven't answered the original question. What version of the Net-SNMP agent are you using? Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
