On 8 February 2010 05:00, Sasikumar <[email protected]> wrote:
>    I am implementing Q-BRIDGE-MIB in this table is dot1qTpFdbTable
> which as dot1qTpFdbAddress as one of the Index.
> My question is when this table was queried the output contains
> length of the Mac address, Is this valid.

No.
You are quite correct.

MacAddress is a fixed-size type, so the string index value
should not include a length subidentifier.

Have a look at where the table indexing is registered.
This should be using ASN_PRIV_IMPLIED_OCTET_STR
rather than simply ASN_OCTET_STR

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to