Prefer LAN interfaces for invitations, WAN for connections.

This commit is contained in:
akwizgran
2011-10-30 22:26:23 +00:00
parent d1676781f0
commit 7065f54a57
3 changed files with 71 additions and 9 deletions

View File

@@ -175,8 +175,9 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin {
if(LOG.isLoggable(Level.INFO)) LOG.info(e.getMessage());
return;
}
callback.incomingConnectionCreated(
new BluetoothTransportConnection(s));
BluetoothTransportConnection conn =
new BluetoothTransportConnection(s);
callback.incomingConnectionCreated(conn);
}
}