Re: SNMP BITS datatype

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogaMzyKsTbKJPfR3T2MFNTQT46ji9WttkiRV2hO2d0SspA@mail.gmail.com>
On Sat, Nov 11, 2017 at 5:59 PM, Ravi Prasad <[email protected]>
wrote:

> What should be output of BITS datatype when no bits are set?
> It should be 0 or empty string ?
>

The BITS encoding includes every bit defined in the MIB, whether it is set
or not.  Given the choices "0 or empty string", I would say "0", with the
caveat that there need to be as many zeroes as needed to cover all of the
defined values.

  Bill

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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