On Wed, 2010-06-23 at 10:02 +0200, Jan Safranek wrote: > I've stumbled upon struct range_list being too small for some MIBs. E.g. > snmptranslate -Td NET-SNMP-AGENT-MIB::nsTransactionID: > ... > SYNTAX Unsigned32 (0..-1) > Correct is (0..4294967295), but struct range_list uses signed int to > store range boundaries and 4294967295 won't fit there. > > The fix is simple, just use long instead of int. But wouldn't it be ABI > breaker? Changing sizes of structures in public headers is bad!
What branch? What version? What host? How does your proposed patch look? Trunk seems to work (x86_64, x86 on a 64-bit kernel (also V5-5-patches) and Solaris 10) I think r17794 fixed this issue. /MF ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders