HCOLL-134 ( release draft cut of the code so that I can test it across my network )

This commit is contained in:
Rob Austin
2014-10-07 18:51:51 +01:00
parent f9b14d13e6
commit c0da0f5c2f
2 changed files with 4 additions and 4 deletions
@@ -822,21 +822,21 @@ class DiscoveryNodeBytesMarshallable implements BytesMarshallable {
return;
}
LOG.info("Received Proposal");
// the host and port the message came from
this.sourceAddressAndPort.readMarshallable(in);
if (sourceAddressAndPort.equals(ourAddressAndPort))
return;
LOG.info("Received Proposal");
this.remoteNode.readMarshallable(in);
this.proposedIdentifiersWithHost.readMarshallable(in);
NodeDiscoveryEventListener listener = nodeDiscoveryEventListener.get();
if (listener != null)
listener.onRemoteNodeEvent(remoteNode, proposedIdentifiersWithHost);
onChange();
}