Compare commits
4
Commits
3.6.0测试版1
...
053450429c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
053450429c | ||
|
|
8dcdb08755 | ||
|
|
ba61d3b5ae | ||
|
|
74e4360d71 |
@@ -464,7 +464,9 @@ public class KLALBRemoteLink extends AbstractControlledIPv6NetworkLink implement
|
|||||||
break;
|
break;
|
||||||
case KLALBPacket.VADDR:
|
case KLALBPacket.VADDR:
|
||||||
IPv6AddressGroup vdr = ((VADDRPacket) kpp).getVaddr();
|
IPv6AddressGroup vdr = ((VADDRPacket) kpp).getVaddr();
|
||||||
|
if(vdr.getAddress().equals(klalbController.getSelf().getAddress())){
|
||||||
|
close();
|
||||||
|
}else {
|
||||||
remoteVaddr = vdr;
|
remoteVaddr = vdr;
|
||||||
sendPacket(new VADDRACKPacket());
|
sendPacket(new VADDRACKPacket());
|
||||||
if (fst.compareAndSet(true, false)) {
|
if (fst.compareAndSet(true, false)) {
|
||||||
@@ -473,7 +475,7 @@ public class KLALBRemoteLink extends AbstractControlledIPv6NetworkLink implement
|
|||||||
KLALBRemoteLink.this.onOnlineStateUpdate();
|
KLALBRemoteLink.this.onOnlineStateUpdate();
|
||||||
}
|
}
|
||||||
KLALBRemoteLink.this.onLocatorUpdate();
|
KLALBRemoteLink.this.onLocatorUpdate();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case KLALBPacket.VADDRACK:
|
case KLALBPacket.VADDRACK:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -597,7 +597,11 @@ public class KLALBStateGUI3 extends XFrame {
|
|||||||
JButton btnNewButton = new JButton(UIEnv.getRsb().getString("addline"));
|
JButton btnNewButton = new JButton(UIEnv.getRsb().getString("addline"));
|
||||||
btnNewButton.addActionListener(e -> {
|
btnNewButton.addActionListener(e -> {
|
||||||
try {
|
try {
|
||||||
kc.addRemoteLines(new MultipurposeSocketAddress(textField.getText()));
|
MultipurposeSocketAddress mpsa= new MultipurposeSocketAddress(textField.getText());
|
||||||
|
Thread t=new Thread(()->{
|
||||||
|
kc.addRemoteLines(mpsa);
|
||||||
|
});
|
||||||
|
t.start();
|
||||||
} catch (RuntimeException ex) {
|
} catch (RuntimeException ex) {
|
||||||
JOptionPane.showMessageDialog(KLALBStateGUI3.this, "Input format error", "Error",
|
JOptionPane.showMessageDialog(KLALBStateGUI3.this, "Input format error", "Error",
|
||||||
JOptionPane.ERROR_MESSAGE);
|
JOptionPane.ERROR_MESSAGE);
|
||||||
@@ -888,8 +892,8 @@ public class KLALBStateGUI3 extends XFrame {
|
|||||||
performanceStrategy = new ComboSettingItem(UIEnv.getRsb().getString("performancestrategy"),
|
performanceStrategy = new ComboSettingItem(UIEnv.getRsb().getString("performancestrategy"),
|
||||||
CONST.itemwidth, CONST.settingheight);
|
CONST.itemwidth, CONST.settingheight);
|
||||||
comboPerformance = performanceStrategy.getComboBox();
|
comboPerformance = performanceStrategy.getComboBox();
|
||||||
comboPerformance.addItem("BBR");
|
comboPerformance.addItem("1");
|
||||||
comboPerformance.addItem("Vegas2");
|
comboPerformance.addItem("2");
|
||||||
settings.getView().add(performanceStrategy);
|
settings.getView().add(performanceStrategy);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user