mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user