Re: how to get value requested to set in MODE_SET_ACTION

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
On 28 January 2011 11:04, MAS . <[email protected]> wrote:
> I want to get value which is requested by set in following net-snmp example,


>         case MODE_SET_ACTION:
>             /* XXX: perform the value change here */
>
>             HOW TO GET VALUE HERE?

               long  newval = *requests->requestvb->val.integer;

Dave

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.