Re: Fw: type BITS displays extra data

Kathy McLeod <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF5E2835AD.D4D08DF0-ON862576F1.00527EE1-862576F1.00529A5A@us.ibm.com>
I am good with all zeroes.  In case your reply was "just don't set
anything", then I saw a problem with unitiialized storage.

Thanks for the prompt reply!


Kathy McLeod
Dept S82  CCB - SNMP
IBM Rochester, MN
(507) 253-4803


                                                                           
             Dave Shield                                                   
             <D.T.Shield@liver                                             
             pool.ac.uk>                                                To 
             Sent by:                  Kathy McLeod/Rochester/IBM@IBMUS    
             dave.shield@googl                                          cc 
             email.com                 [email protected] 
                                       t                                   
                                                                   Subject 
             03/25/2010 09:48          Re: Fw: type BITS displays extra    
             AM                        data                                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 25 March 2010 14:42, Kathy McLeod <[email protected]> wrote:
> What is the "empty set" in terms of code?

An octet string with no bits set.

>  Is it all 0's?

Yes.

>  If you don't set anything, then is there a risk of having a garbage
value
> in the storage for the table?

It may depend on the compiler, and how the table is represented internally.
Why take the risk?  It's not exactly difficult to initialise this field to
0!

Dave



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.