Java NetworkTable: Don't use ipAddress when starting server.

This matches the C++ behavior.  Using the IP address here is confusing to
users because it's actually the listen address.
This commit is contained in:
Peter Johnson
2015-09-19 11:45:07 -07:00
parent 90ce262bb3
commit a3effbfb9f

View File

@@ -41,7 +41,7 @@ public class NetworkTable implements ITable, IRemote {
if (client)
NetworkTablesJNI.startClient(ipAddress, port);
else
NetworkTablesJNI.startServer(persistentFilename, ipAddress, port);
NetworkTablesJNI.startServer(persistentFilename, "", port);
running = true;
}