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

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

commit 5179d9c321efd09f4a76ff47ce70c0a84442fa98
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Nov 11 15:02:56 2025 +0000

    Don't try and use a point to point interface for testing
---
 test/org/apache/catalina/startup/TestStartupIPv6Connectors.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/org/apache/catalina/startup/TestStartupIPv6Connectors.java 
b/test/org/apache/catalina/startup/TestStartupIPv6Connectors.java
index c3c4b9add4..2212e396e4 100644
--- a/test/org/apache/catalina/startup/TestStartupIPv6Connectors.java
+++ b/test/org/apache/catalina/startup/TestStartupIPv6Connectors.java
@@ -68,6 +68,9 @@ public class TestStartupIPv6Connectors extends TomcatBaseTest 
{
         while (interfaces.hasMoreElements()) {
             NetworkInterface interf = interfaces.nextElement();
             Enumeration<InetAddress> addresses = interf.getInetAddresses();
+            if (interf.isPointToPoint()) {
+                continue;
+            }
             while (addresses.hasMoreElements()) {
                 InetAddress address = addresses.nextElement();
                 if (address instanceof Inet6Address inet6Address) {


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

Reply via email to