On Tue, 2005-06-14 at 13:59, Sasikumar Bodathula wrote:
> Hi Dave,
>       I have attached the code which i little bit modified to learn abt
> set function scalar_int.c is the example file that i took from the
> net-snmp code and modified.

Thanks.
I've configured that file into my agent, and it works exactly as
expected.

Issuing a SET request for 0 or 1 using a "rwcommunity" string
succeeds.  The same request using a "rocommunity" string fails
with a "notWriteable" error (and without triggering the
'INSIDE setFunc' message).

Removing the
         requests->delegated = 0;
                statement made absolutely no difference.
There's nothing wrong with this code file.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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