Removes adding mapped addresses as they are configured from the outside. They can be different settings for that, not only coming from aws harvester.
This commit is contained in:
parent
9512d303a2
commit
c03cfaa674
@ -639,17 +639,6 @@ public class MultiplexingTcpHostHarvester
|
||||
serverSocketChannels.add(channel);
|
||||
}
|
||||
|
||||
// Automatically add a mapping if we're on EC2
|
||||
TransportAddress ec2Face = AwsCandidateHarvester.getDiscoveredFace();
|
||||
TransportAddress ec2Mask;
|
||||
if (ec2Face != null &&
|
||||
(ec2Mask = AwsCandidateHarvester.getDiscoveredMask()) != null)
|
||||
{
|
||||
addMappedAddress(ec2Mask.getAddress(), ec2Face.getAddress());
|
||||
logger.info("Adding an EC2 mapping for TCP: "
|
||||
+ ec2Face + "->" + ec2Mask);
|
||||
}
|
||||
|
||||
acceptThread = new AcceptThread();
|
||||
acceptThread.start();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user