Re: datatype for IPADDRESS

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/4/14 Tanisha Kashyap <[email protected]>:

> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.