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.

/MF

> Best regards,
> Cunzhi Huang
>  
> ==============================
> {2092} $ snmptranslate -m "mibs" -Tp  | grep -i distminprocess -A 1
>             |              |  |  |     +-- -R-- Unsigned
> distMinProcessingTime(6)
>             |              |  |  |     |        Range: 0..2147483647
>  
>  
> {2094} $ grep -i distminproc ../mibs/DIST-MIB.txt  -A 1
>                 distMinProcessingTime,
>                 distMaxProcessingTime,
> --
>         distMinProcessingTime Unsigned32,
>         distMaxProcessingTime Unsigned32,
> --
> distMinProcessingTime OBJECT-TYPE
>         SYNTAX          Unsigned32(0..4294967295)
>  
> {2095} $ snmptranslate.exe -V
> NET-SNMP version: 5.4.2.1
> ------------------------------------------------------------------------------
> 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


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

Reply via email to