Handling "BITS" data types in SNMP.xs

"Andrew Teklemariam" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Does the Net-SNMP perl wrapper handle data of type "BITS" correctly?

Looking at the code in SNMP.xs __add_var_val_str function (V 5.2.2), it
seems the BITS data type is handled as a character string.  If for
example, I set the field to" 'FC000000', SNMP.xs sends an 8 byte
character string to the agent.

snmp_api.c on the other hand, handles it correctly.

Cheers,
-andrew
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.