[dev_finder] Remove duplicate devices.

Removes duplicate devices from results. This can happen when sending to
multiple interfaces all reach the same device before the host can
respond.

As this uses a hash map, results are sorted to ensure that they are
deterministic for testing.

Test: `go test`
Change-Id: Ifd67bec0b3c7900a42a88dad1b4099bc4d4f972a
2 files changed
tree: 329ebfb5692673bc48c3ad7d01f4948887f5cc8c
  1. bloaty/
  2. botanist/
  3. breakpad/
  4. build/
  5. cache/
  6. cmd/
  7. color/
  8. command/
  9. elflib/
  10. gndoc/
  11. isatty/
  12. logger/
  13. mdns/
  14. memory/
  15. netboot/
  16. netutil/
  17. ninjalog/
  18. qemu/
  19. retry/
  20. runner/
  21. runtests/
  22. serial/
  23. sshutil/
  24. symbolize/
  25. tap/
  26. tarutil/
  27. telnet/
  28. testrunner/
  29. testsharder/
  30. tftp/
  31. .gitignore
  32. go.mod
  33. go.sum
  34. LICENSE
  35. manifest
  36. PATENTS
  37. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe.