On 08/04/2008, Kris van Rens <[EMAIL PROTECTED]> wrote:
> Yes, I thought so, but all attempts were without result. Here's what I
>  thought I should do:
>
>  ---
>  // Update OID
>  memmove(if_oid, resp->variables->name, resp->variables->name_length);

   resp->variables->name_length*sizeof(oid)

>  if_oid_len = resp->variables->name_length;

Remember that 'name_length' holds the *number* of subidentifiers,
not the size (in bytes) of the OID.



>  I take it that the response PDU contains the oid with which I should
>  update the 'old' one?

Yes - that's correct.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to