2009/4/14 Tanisha Kashyap <tanisha.kash...@aricent.com>:

> I don’t know how to edit the following:
> case MODE_GET:
>             snmp_set_var_typed_value(requests->requestvb,
>                   ASN_IPADDRESS,
>                  (u_char *) ???, ???);

See the file 'agent/mibgroup/mibII/udpTable.c'
which includes a similar MIB object.

In general this ought to be the first thing you try
whenever you're stuck. Look for something similar
in the Net-SNMP source code, and see if that provides
sufficient information to get you started again.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to