On Sat, 27 Jun 2009 03:45:14 +0100 Stuart wrote: SB> I have sorted this issue with the ifIn/OutOctets but the issue I am having SB> is that using val.integer is not producing a large enough value. For example SB> if I simply do a straight SNMPGet I get the value of 2791567717 now I take a SB> simple long int x = 2791567717; and print this I get a negative number
Counter32 is an unsigned integer. Try using 'unsigned long'. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
