geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r475893 - /geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
Date Thu, 16 Nov 2006 19:38:24 GMT
Author: jgenender
Date: Thu Nov 16 11:38:23 2006
New Revision: 475893

URL: http://svn.apache.org/viewvc?view=rev&rev=475893
Log:
Fix multicast bug

Modified:
    geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java

Modified: geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java?view=diff&rev=475893&r1=475892&r2=475893
==============================================================================
--- geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
(original)
+++ geronimo/sandbox/gcache/common/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
Thu Nov 16 11:38:23 2006
@@ -196,10 +196,10 @@
             this.sockAddress = new InetSocketAddress(this.inetAddress, port);
 
             InetSocketAddress inet = new InetSocketAddress(host, port);
-            mcast = new MulticastSocket(inet);
+            mcast = new MulticastSocket(port);
             mcast.setLoopbackMode(loopBackMode);
             mcast.setTimeToLive(timeToLive);
-            mcast.joinGroup(inet.getAddress());
+            mcast.joinGroup(inetAddress);
             mcast.setSoTimeout((int) keepAliveInterval);
 
             runner = new Thread(this);



Mime
View raw message