On 10/10/2007, Wes Hardaker <[EMAIL PROTECTED]> wrote:
> >>>>> "CN" == Chetan Nanda <[EMAIL PROTECTED]> writes:

> CN>  .....   if during Set operation PDU containing set
> CN> for all the three objects, Is there any common place where I can
> CN> validate values of all these object with each other, before doing
> CN> actual set-operation.


> There is no common place to perform those checks in the CMU code, but
> you can do it within one of the write_ functions that implement your SET
> support.

In particular, you could use the first (RESERVE1) pass to note which
varbinds are included in the SET request.   Then the second (RESERVE2)
pass could signal a failure if any of the three necessary assignments
are missing.

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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to