On Sat, 2009-08-15 at 20:44 -0700, Huang, Jack wrote:
> It is 5.4.2.1. I can not find the function you mentioned.
>
> By the way, I found a way to install the SNMP Perl module.
>
> hua...@huangj2 [/cygdrive/c/SNMP/net-snmp-5.4.2.1/snmplib]
> {1203} $ grep -i print_range_value parse.c
print_range_value is the function the patch added so this is no
surprise.
Could you not try to just apply the patch? If you are extra cautious
then copy parse.c to a safe place first.
/MF
> hua...@huangj2 [/cygdrive/c/SNMP/net-snmp-5.4.2.1/snmplib]
>
> ________________________________________
> From: Magnus Fromreide [[email protected]]
> Sent: Saturday, August 15, 2009 8:32 PM
> To: Huang, Jack
> Subject: RE: snmptranslate: range of unsigned32
>
> [Please keep the discussion on the mailing list]
>
> On Sat, 2009-08-15 at 15:56 -0700, Huang, Jack wrote:
> > I am sorry we have different source code so I can't tell if that would fix
> > it.
>
> Well, what version do you have?
>
> /MF
>
> > -----Original Message-----
> > From: Magnus Fromreide [mailto:[email protected]]
> > Sent: Saturday, August 15, 2009 12:05 PM
> > To: Huang, Jack
> > Cc: [email protected]
> > Subject: Re: snmptranslate: range of unsigned32
> >
> > On Sat, 2009-08-15 at 18:53 +0200, Magnus Fromreide wrote:
> > > On Fri, 2009-08-14 at 15:25 -0700, Huang, Jack wrote:
> > > > Hello,
> > > >
> > > > It looks like there is an issue with the range of unsigned32 in the
> > > > snmptranslate program. The range of unsigned32 is reported as 0 ..
> > > > 2147483647, instead of 0..4294967295.
> > > >
> > > > Please let me know if you need more information.
> > >
> > > Thanks, this is quite correct. That code assumes that it is printing a
> > > signed integer.
> >
> > Does the attached patch solve the problem you see?
> >
> > /MF
> >
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders