Hi, Thanks for your reply. Even if I set this value, how will I ensure that this value goes out with the outgoing trap PDU?
Thanks. /Shobana --- Dave Shield <[EMAIL PROTECTED]> wrote: > On Fri, 2005-04-08 at 20:44, Shobana Sampath wrote: > > In the netsnmp_pdu data structure, what is the > field > > that I can use in snmp v2c to set the sender's > address > > in outgoing SNMP packets. > > There isn't one. > > You can do this via the 'snmp.conf' file, using the > directive > "clientaddr", or in code using a call to: > > netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID, > > NETSNMP_DS_LIB_CLIENT_ADDR, > "<clientaddr>"); > > but there isn't a PDU field for this. > > Dave > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders