On Wed, May 25, 2011 at 7:15 AM, Niels Baggesen
<nba@...:
> On Tue, May 24, 2011 at 11:49:58PM +0000, hardaker@...:
> > Revision: 20448
> >
> http://net-snmp.svn.sourceforge.net/net-snmp/?rev=20448&view=rev
> > Author: hardaker
> > Date: 2011-05-24 23:49:57 +0000 (Tue, 24 May 2011)
> >
> > Log Message:
> > -----------
> > revert OID typedef to u_long as agreed to on -coders and in the admin
> meeting
>
> And also do this:
>
> Index: include/net-snmp/library/oid.h
> ===================================================================
> --- include/net-snmp/library/oid.h (revision 20448)
> +++ include/net-snmp/library/oid.h (working copy)
> @@ -8,7 +8,7 @@
> #ifndef EIGHTBIT_SUBIDS
> typedef u_long oid;
> #define MAX_SUBID 0xFFFFFFFF
> -#define NETSNMP_PRIo NETSNMP_PRI32
> +#define NETSNMP_PRIo "l"
> #else
> typedef uint8_t oid;
> #define MAX_SUBID 0xFF
>
See also r20450.
Bart.
|