Re: Code not generated for my table

"Sridhar S" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I found following code in the mib2c script from line number 776. I
think, since script is looking for 'Table' word, code is not generated
the example mib.

sub setup_data {
    my $mib = shift;
    if ($mib->{label} =~ /Table$/) {
        my $indexes;
        my $tablename = $mib->{label};
        my $entry = $mib->{children};
        my $columns = $entry->[0]{children};
        my $augments = $entry->[0]{'augments'};

Temporary solution would be appending 'Table' word to the table node.

Thanks
Sridhar

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.