This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new c56d3b42cc Try again.
c56d3b42cc is described below

commit c56d3b42cc847f8aa6beb0e34c9dae7497eda7a4
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 25 23:26:09 2026 +0100

    Try again.
---
 test/org/apache/catalina/tribes/TesterUtil.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test/org/apache/catalina/tribes/TesterUtil.java 
b/test/org/apache/catalina/tribes/TesterUtil.java
index 6d20027a75..50c5a32f07 100644
--- a/test/org/apache/catalina/tribes/TesterUtil.java
+++ b/test/org/apache/catalina/tribes/TesterUtil.java
@@ -21,7 +21,6 @@ import java.net.DatagramPacket;
 import java.net.InetAddress;
 import java.net.InetSocketAddress;
 import java.net.MulticastSocket;
-import java.net.StandardSocketOptions;
 import java.net.UnknownHostException;
 import java.nio.charset.StandardCharsets;
 
@@ -67,9 +66,8 @@ public class TesterUtil {
         // Bind to an ephemeral port (not the McastService default) so this 
probe
         // never clashes with a running membership service on the same host.
         try (MulticastSocket socket = new MulticastSocket(0)) {
-            // Loop-back must be enabled for the probe to receive its own 
packet (the parameter is "disable").
+            // Loop-back must be enabled for the probe to receive its own 
packet.
             socket.setLoopbackMode(false);
-            socket.setOption(StandardSocketOptions.IP_MULTICAST_LOOP, 
Boolean.TRUE);
             socket.setSoTimeout(1000);
 
             int port = socket.getLocalPort();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to