Dedupe Tessels found on LAN connections. Fixes gh-719 #805
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The problem here was:
this.discovered
this.discovered
had the same object identity as the thing being checked, which is wrong.Smoke Test
This is easier to do with 2 or more Tessels, so I've just taken screen shots to show the result of the changes:
Before:
![](https://camo.githubusercontent.com/63f5cbabcb091666849468aad000a7f85b768246037f1d518f8f79ef42d1ab35/68747470733a2f2f692e6779617a6f2e636f6d2f39663962383362643331613434376431656135313062363131643237363062342e706e67)
After:
![](https://camo.githubusercontent.com/447c64a95959dd6a0230c3053597b972c93238f05ac9c5bb7f98842a28c6e087/68747470733a2f2f692e6779617a6f2e636f6d2f30323666353666383039343962623336666136306439383061343035343733382e706e67)
Signed-off-by: Rick Waldron waldron.rick@gmail.com