On Tue, 10 Jan 2006 11:56:32 -0600 [EMAIL PROTECTED] wrote:
EYC> Thank you for your prompt reply. Please advise what needs to be done for "
EYC> the indexes passed in
EYC> to table registration must have the val_len set for the appropriate
EYC> varbind."

EYC> _dot1qStaticMulticastTable_initialize_interface

At the top of this function, declare

        netsnmp_variable_list *vb;


EYC>     /*
EYC>      * Setting up the table's definition
EYC>      */
EYC>     netsnmp_table_helper_add_indexes(tbl_info, ASN_UNSIGNED,
EYC>                                                 /** index: dot1qVlanIndex
EYC> */ ASN_PRIV_IMPLIED_OCTET_STR, // was ASN_OCTET_STR,
EYC>                                                  /** index:
EYC> dot1qStaticMulticastAddress */ ASN_INTEGER,
EYC>                                                /** index:
EYC> dot1qStaticMulticastReceivePort */ 0);

        vb = tbl_info->indexes;
        vb = vb->next_variable; /* skip dot1qVlanIndex */
        vb->val_len = X;

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to