tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r755302 - /tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
Date Tue, 17 Mar 2009 16:21:07 GMT
Author: rjung
Date: Tue Mar 17 16:21:07 2009
New Revision: 755302

URL: http://svn.apache.org/viewvc?rev=755302&view=rev
Log:
MulticastSocket.setLoopbackmode() works reversed.
The argument is named "disabled", so true is for disable.

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java?rev=755302&r1=755301&r2=755302&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/membership/McastServiceImpl.java Tue Mar
17 16:21:07 2009
@@ -218,7 +218,7 @@
         } else {
             socket = new MulticastSocket(port);
         }
-        socket.setLoopbackMode(false); //hint that we don't need loop back messages
+        socket.setLoopbackMode(true); //hint that we don't need loop back messages
         if (mcastBindAddress != null) {
 			if(log.isInfoEnabled())
                 log.info("Setting multihome multicast interface to:" +mcastBindAddress);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message