From f4892ed21e68dc4c48d8932bb8f311436cfe8399 Mon Sep 17 00:00:00 2001 From: Karl Pauls Date: Mon, 3 Dec 2018 22:36:48 +0000 Subject: [PATCH] FELIX-5994: resolve endpoint properties if host is 0.0.0.0 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1848112 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/felix/http/jetty/internal/JettyService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java b/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java index 150df4deb52..8be47d8f647 100644 --- a/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java +++ b/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java @@ -791,7 +791,7 @@ private void addEndpointProperties(final Hashtable props, Object { final Connector connector = connectors[i]; - if (getServerConnector(connector).getHost() == null) + if (getServerConnector(connector).getHost() == null || "0.0.0.0".equals(getServerConnector(connector).getHost())) { try {