--- projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java 2001/02/28 10:27:54 1.18 +++ projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java 2001/02/28 10:36:05 1.19 @@ -15,7 +15,7 @@ import java.io.*; * and a reference to a Filter to which it should pass data. * * @author $Author: tdb $ - * @version $Id: HostInit.java,v 1.18 2001/02/28 10:27:54 tdb Exp $ + * @version $Id: HostInit.java,v 1.19 2001/02/28 10:36:05 tdb Exp $ */ class HostInit extends Thread { @@ -24,7 +24,7 @@ class HostInit extends Thread { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.18 $"; + public final String REVISION = "$Revision: 1.19 $"; //---STATIC METHODS--- @@ -98,7 +98,7 @@ class HostInit extends Thread { else { try { // try to send the fqdn to the host - _socketOut.println(InetAddress.getLocalHost().getHostName()); + _socketOut.println(_socket.getInetAddress().getHostName()); } catch(UnknownHostException e) { // we failed for some reason