On Sat, 13 Aug 2005 14:10:22 +1000 Russell wrote:
RB> What we've ended up doing is changing get_myaddr() in snmplib/system.c
RB> which works; the primary IP address (the address returned by
RB> gethostbyname) is sent in the SNMP pdu.  [Rob, I've sent you the changed
RB> system.c]
RB> [...]
RB> While the new get_myaddr() works, I don't know for sure if it's
RB> correct/safe for all platforms.  It would be best if someone involved in
RB> net-snmp development could have a look, so we can get a robust fix
RB> incorporated in the development source base.

The version you sent looks exactly like the current code in 5.1.3 and 5.2.x...

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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