[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 22 Oct 2007 09:03:51 -0000, girish <[EMAIL PROTECTED]> wrote:
> hi Dave,
>     Here is the mib2c code for the object which i mentioned.
>     case MODE_SET_ACTION:
>         for (request = requests; request; request = request->next) {
>             table_entry = (struct mycelllTable_entry *)
>                 netsnmp_extract_iterator_context(request);
>             table_info = netsnmp_extract_table_info(request);
>       switch (table_info->colnum) {
> case COLUMN_LCELLUSERLABEL:
>                 memcpy(table_entry->old_UserLabel,
>                        table_entry->UserLabel,
>                        sizeof(table_entry->UserLabel));
>                 table_entry->old_UserLabel_len =
>                     table_entry->UserLabel_len;
>                 memset(table_entry->UserLabel, 0,
>                        sizeof(table_entry->lcellUserLabel));
>                 memcpy(table_entry->UserLabel,
>                        request->requestvb->val.string,
>                        request->requestvb->val_len);
>                 table_entry->UserLabel_len =
>                     request->requestvb->val_len;
>                 break;
> }


That seems to be the code for one step of the SET processing.
But the error that you report is most likely to be generated by
an earlier stage of processing.   So you're still not providing the
information we need to be able to help.

Can you please provide the *FULL* code that implements this MIB object.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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

Reply via email to