mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
commit
ab74433322
1 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,7 @@ import java.awt.event.*;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
import java.net.SocketException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
|
@ -726,6 +727,12 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
currentConnection.setPassword(password);
|
currentConnection.setPassword(password);
|
||||||
currentConnection.setHost(server);
|
currentConnection.setHost(server);
|
||||||
currentConnection.setPort(port);
|
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.setProxyType(proxyType);
|
||||||
currentConnection.setProxyHost(proxyServer);
|
currentConnection.setProxyHost(proxyServer);
|
||||||
currentConnection.setProxyPort(proxyPort);
|
currentConnection.setProxyPort(proxyPort);
|
||||||
|
|
Loading…
Reference in a new issue