]> source.dussan.org Git - tigervnc.git/commitdiff
Fixed an issue with -listen mode where java client wasn't listening on the wildcard...
authorBrian Hinz <bphinz@users.sourceforge.net>
Fri, 27 Apr 2012 18:23:31 +0000 (18:23 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Fri, 27 Apr 2012 18:23:31 +0000 (18:23 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4908 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/com/tigervnc/network/TcpListener.java

index afe8075363e5f10fc9ce8e374f3c83fdea9982f5..d6e92ab973616039bf1fb1d9464a79ab9904bad0 100644 (file)
@@ -59,9 +59,7 @@ public class TcpListener extends SocketListener  {
       } else if (listenaddr != null) {
           addr = java.net.InetAddress.getByName(listenaddr);
       } else {
-        // FIXME: need to be sure we get the wildcard address?
-        addr = InetAddress.getByName(null);
-        //addr = InetAddress.getLocalHost();
+        addr = InetAddress.getByName("0.0.0.0");
       }
     } catch (UnknownHostException e) {
       System.out.println(e.toString());