> I have the next structure and I need to modelate the behavior of prLnAct so
> that when the manager read it, this variable has to be set to zero.


> | +-- CR-- Counter prLnAct(3)

No.
If this object is defined as a counter, then you should *NOT* reset
it to zero whenever it is read.   That's not how Counters work.

Instead you should leave it alone, and let it increment naturally
(wrapping back to zero whenever it reaches 2^32)

The "reset to zero" behaviour should be dealt with at the client
side, by making two successive requests and looking at the difference
between them.
   That's the correct behaviour for Counter syntax objects.

Dave



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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