* TransportManager: Fix fatal exception on soft restart caused by DHSKB refactoring

This commit is contained in:
zzz
2012-03-16 12:13:20 +00:00
parent f2a3d597dd
commit 080f435708

View File

@ -138,7 +138,8 @@ public class TransportManager implements TransportEventListener {
}
public void startListening() {
_dhThread.start();
if (_dhThread.getState() == Thread.State.NEW)
_dhThread.start();
// For now, only start UPnP if we have no publicly-routable addresses
// so we don't open the listener ports to the world.
// Maybe we need a config option to force on? Probably not.