Re: how to specify source IP address / interface when sending traps (with Solaris IP multipathing )

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20050815110810.4585f75e@aud>
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
[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.