Revert "[netboot] Fix netboot.Discover local address."

This reverts commit 2524552e6b945690e0e00338e9ec5f7360ebea1c.

Reason for revert: bisected a botanist netboot issue to this CL
https://luci-milo.appspot.com/swarming/task/42e92d80cf296e10

Original change's description:
> [netboot] Fix netboot.Discover local address.
> 
> This change fixes the value returned by netboot.Discover("..", false).
> It now returns the same address as `netaddr --local` which is the
> address that routes from the remote nodename to the local machine.
> This is necessary for things like registering a package server
> with a target device, since amberctl needs to reach the server running
> on the local machine over http.
> 
> IN-853 #comment
> 
> Change-Id: I1e75d77ed489064a4080d251333351df293cf125

TBR=phosek@google.com,kjharland@google.com,joshuaseaton@google.com,dhobsd@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I54ad7c200387033bfeef5e2e6422417e0988afde
1 file changed
tree: 87674f02b26795653dad00b5302fd8deccb4e2b5
  1. bloaty/
  2. botanist/
  3. build/
  4. cache/
  5. cmd/
  6. color/
  7. digest/
  8. elflib/
  9. fastboot/
  10. gndoc/
  11. isatty/
  12. logger/
  13. mdns/
  14. netboot/
  15. ninjalog/
  16. pdu/
  17. qemu/
  18. resultstore/
  19. retry/
  20. runtests/
  21. secrets/
  22. serial/
  23. symbolize/
  24. tap/
  25. telnet/
  26. testrunner/
  27. testsharder/
  28. tftp/
  29. .gitignore
  30. go.mod
  31. go.sum
  32. LICENSE
  33. manifest
  34. PATENTS
  35. 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. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"