* Transport: Revert change from -2, put addresses back in RouterInfo

when hidden, broke inbound tunnel building
This commit is contained in:
zzz
2012-01-15 16:38:39 +00:00
parent 7213ff0c76
commit 59ba19b965

View File

@@ -179,8 +179,9 @@ public class CommSystemFacadeImpl extends CommSystemFacade {
/** @return non-null, possibly empty */
@Override
public Set<RouterAddress> createAddresses() {
if (_context.router().isHidden())
return Collections.EMPTY_SET;
// No, don't do this, it makes it almost impossible to build inbound tunnels
//if (_context.router().isHidden())
// return Collections.EMPTY_SET;
Map<String, RouterAddress> addresses = null;
boolean newCreated = false;