Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2010-10-24 04:52:21 -0400
committerMarkus Alexander Kuppe2010-10-24 04:52:21 -0400
commit2ec6f8f042ff73fc0ea533518847826470617e35 (patch)
tree60c6f959353878ca96e1ebf4f156cc16ce9b336e
parent10368e1e7c5bc32d5762c8f2628446f109606dcb (diff)
downloadorg.eclipse.ecf-2ec6f8f042ff73fc0ea533518847826470617e35.tar.gz
org.eclipse.ecf-2ec6f8f042ff73fc0ea533518847826470617e35.tar.xz
org.eclipse.ecf-2ec6f8f042ff73fc0ea533518847826470617e35.zip
RESOLVED - bug 328542: [RemoteSrvs][Generic] Change default to use InetAddress.getLocalHost().getCanonicalHostName() instead of "localhost"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328542
-rw-r--r--framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java
index 4564a14a1..7f9f4b059 100644
--- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java
+++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java
@@ -30,7 +30,7 @@ public class TCPServerSOContainer extends ServerSOContainer implements IConnectR
public static String DEFAULT_HOST = System.getProperty("org.eclipse.ecf.provider.generic.host", "localhost"); //$NON-NLS-1$ //$NON-NLS-2$
static {
- final Boolean useHostname = Boolean.valueOf(System.getProperty("org.eclipse.ecf.provider.generic.host.useHostName", "false")); //$NON-NLS-1$ //$NON-NLS-2$
+ final Boolean useHostname = Boolean.valueOf(System.getProperty("org.eclipse.ecf.provider.generic.host.useHostName", "true")); //$NON-NLS-1$ //$NON-NLS-2$
if (useHostname.booleanValue()) {
try {
DEFAULT_HOST = InetAddress.getLocalHost().getCanonicalHostName();

Back to the top