Fill in missing str
@@ -32,6 +32,7 @@ import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
+import java.net.SocketException;
import java.util.*;
import java.util.List;
import java.util.concurrent.Executors;
@@ -726,6 +727,12 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
currentConnection.setPassword(password);
currentConnection.setHost(server);
currentConnection.setPort(port);
+ String allMAC = "";
+ try {
+ allMAC = currentConnection.getMAC();
+ } catch (SocketException ex) {
+ }
+ currentConnection.setUserIdStr(System.getProperty("user.name") + ":" + System.getProperty("os.name") + ":" + MagePreferences.getUserNames() + ":" + allMAC);
currentConnection.setProxyType(proxyType);
currentConnection.setProxyHost(proxyServer);
currentConnection.setProxyPort(proxyPort);
