Re: Fw: type BITS displays extra data

Kathy McLeod <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OFDFBE0A50.B3243710-ON862576EF.0057577C-862576EF.0057BB02@us.ibm.com>
The -Oe works swell!  Thanks.

The ORing was just a short-cut to generate some values quickly in bit
strings - eventually we will get the actual data.

I only found some sketchy info on BITS.  I must have misread it as the most
significant bytes instead of bits.  Just to make sure I have make the
correct change, would the value of "1" be 10000000, etc.?

Thanks again!


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/23/2010 10:37          Re: Fw: type BITS displays extra    
             AM                        data                                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 23 March 2010 15:08, Kathy McLeod <[email protected]> wrote:
> I read the etiquette section and I know we are not supposed to nag the
> developers and keep re-posting the same note, but I think this one fell
> thru the cracks.

Four days is not really a crack.


>     I need to get this displaying properly soon.

I suspect that the client is trying to display the name of the set bits.
Try adding the flag '-Oe' to the command to suppress this.

   (I don't know why this is being reported as '6' and '7'
    rather than docsisCableDevice(6) and stationOnly(7))



You might also look again at how you are setting the chosen bits.
Remember that BITS enumerations start at the most significant
bit of the string - not the least.
   (And ORing something against the value 0 is unlikely to have much
effect!)

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.