This is a discussion on Re: problem within the SNMP Users forums, part of the Networking and Network Related category; On 05/09/07, mohaoran@126.com <mohaoran@126.com> wrote: > The asn1.h file in net-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 05/09/07, mohaoran@126.com <mohaoran@126.com> wrote:
> The asn1.h file in net-snmp-5.4 define: > "#define ASN_OCTET_STR ((u_char)0x04)", Yes - that's the enumeration value used to identify Octet String values (as opposed to Integer, Ip Addresses, OIDs, etc). > and I use mib2c to generate the code: > "#define MACADDRESS 3 That's an enumeration value used to identify the third column in this particular table (which happens to be a MacAddress value). Neither of these have any relevance to the length of the string value. > {MACADDRESS, ASN_OCTET_STR, RONLY, var_altai, 5, {2, 1, 1, 1, 3}}," > but the length of MACADDRESS is 6,How can I set this problem? Where is the problem? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |