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 ------------------------------------------------------- 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