Re: Problem generating code with mib2c

2007-05-16 Thread Thomas Anders
Sergi Diaz wrote: > Don Tu said the same to me yesterday. > Thanks anyway for the tip. I'll use *Table sufix on all my tables from now on. I'd suggest running smilint (from libsmi) on any hand-crafted MIB to check for these (and many other) types of errors. +Thomas -

Re: Problem generating code with mib2c

2007-05-16 Thread Sergi Diaz
Don Tu said the same to me yesterday.Thanks anyway for the tip. I'll use *Table sufix on all my tables from now on.Sergi.El 15/05/2007, a las 10:27, Dave Shield escribió:On 14/05/07, Sergi Diaz <[EMAIL PROTECTED]> wrote: The problem I've found when trying to generate template code from the mib isth

Re: Problem generating code with mib2c

2007-05-15 Thread Dave Shield
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 > i

Problem generating code with mib2c

2007-05-14 Thread Sergi Diaz
Hi all, Can someone please put some light on this: I'm trying to generate template code using mib2c.mfd.conf on a mib i'm developing (work in progress). I've been following tutorial 5 (ifTable generation code). The problem I've found when trying to generate template code from the mib is th