On 15/10/06, Balamurugan V <[EMAIL PROTECTED]> wrote:
> I appreciate any help on this issue, i really stuck with this problem.
Please can you show a little patience.
You are not contributing anything towards the maintenance of this software,
and none of the core developers are payed to support it. We have to fit this
into our spare time.
Plus we are currently trying to concentrate on getting a new release ready,
which is taking up much of the available effort.
> > prototypes at privateMIB_access.h looks like privateMIB_access.h:
> > --------------------
> > void
> > *privPortTable_create_data_context(netsnmp_variable_list* index_data, int
> > column);
> >
> > void
> > *privAsngwTable_create_data_context(netsnmp_variable_list* index_data, int
> > column);
That looks correct.
> > privateMIB.c
> > ============
> > if (!data_context) {
> > ci->data_context =
> > privPortTable_create_data_context(table_info->indexes);
> > if (!data_context) {
> > ci->data_context =
> > privGwTable_create_data_context(table_info->indexes);
That doesn't.
<tap, tap, tap>
OK - I remember now.
This bug was fixed relatively recently (about a month ago) so hasn't
yet made it into any released versions.
You can fix it by editing the file 'mib2c.iterate_access.conf',
go to line 267, and change:
${i}_create_data_context(table_info->indexes):
to read
${i}_create_data_context(table_info->indexes, COLUMN_$c.uc):
Then either re-generate your code files, or add the appropriate
COLUMN_XXX parameter to each of the create_data_context calls.
> > what causing this problem?
The prototype of the row creation routine was changed, but not
carried through consistently. This particular helper is not very
widely used, so the problem remained undetected for quite a while.
> > am i missing any steps here after mib2c or any option missed out?
No - you're doing nothing wrong. It's a bug, plain and simple.
Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users