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!


Jan

------------------------------------------------------------------------------
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

Reply via email to