On 14/05/07, Sergi Diaz <[EMAIL PROTECTED]> wrote:
> The problem I've found when trying to generate template code from the mib is
> that mib2c get all my variables as scalars instead of a table with some rows.
>
> Specification of the mib is as follows:
>
> IPTABLES2-MIB DEFINITIONS ::= BEGIN


> iptablesChains OBJECT-TYPE
>  SYNTAX SEQUENCE OF chainEntry
 [snip]

Try changing the name of this object to be 'chainTable'
(both here and in the definition of 'chainEntry')

The name of the root of an SMI table *must* end with the string "Table"

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to