This is a discussion on Re: How to define the table with the index of mac address within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, 25 Nov 2005 12:08:59 +0800 livia wrote: LX> I have a private table whose index ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, 25 Nov 2005 12:08:59 +0800 livia wrote:
LX> I have a private table whose index is mac address. I use mib2c to generate LX> the base codes for me and it recongnizes the mac address index's type as LX> ASN_OCT_STR. Then I define the mac address as a char array with size of 6. You want to change that to ASN_PRIV_IMPLIED_OCTET_STR, since you are dealing with a fixed length string (assuming your declared index syntax is a fixed size). -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |