>>>>> On Wed, 4 May 2011 10:49:57 -0400, "Robinson, Jayson A" 
>>>>> <jayson.a.robin...@jpmchase.com> said:

RJA> Can someone explain the rationalization of changing oid definition
RJA> from a long to a 32bit integer in net-snmp 5.6.1?

Well, a couple of points:

1) an OID actually is limited to 32 bits, so the newer type makes some
   sense.

2) That being said, it was changed in r17809 with the following log from
   magfr:

   "Change oid to be a 32-bit type on ILP64 and LP64 platforms."

3) All that being said, I'm not sure it was right to change it either.
   I'd support a patch to revert it to a u_long for 5.6.2 and other
   future releases as well.

But I'd like to hear what Magnus has to say first about the reasoning
for breaking backwards compatibility...
-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to