mirror of https://github.com/dswd/vpncloud.git
Fixed problem with nodes broadcasting to themselves
This commit is contained in:
parent
6c35047a97
commit
87cceca65f
|
@ -2,6 +2,10 @@
|
|||
|
||||
This project follows [semantic versioning](http://semver.org).
|
||||
|
||||
### UNRELEASED
|
||||
|
||||
- [fixed] Fixed problem with nodes broadcasting to themselves
|
||||
|
||||
### v0.4.2 (2016-01-19)
|
||||
|
||||
- [changed] Updated dependencies
|
||||
|
|
|
@ -267,7 +267,6 @@ impl<P: Protocol> GenericCloud<P> {
|
|||
}
|
||||
},
|
||||
Message::Peers(peers) => {
|
||||
self.peers.add(&peer);
|
||||
for p in &peers {
|
||||
if ! self.peers.contains(p) && ! self.blacklist_peers.contains(p) {
|
||||
try!(self.connect(p, false));
|
||||
|
|
Loading…
Reference in New Issue