mirror of https://github.com/tailscale/tailscale/
wgengine/magicsock: simplify legacy endpoint DstToString
Legacy endpoints (addrSet) currently reconstruct their dst string when requested. Instead, store the dst string we were given to begin with. In addition to being simpler and cheaper, this makes less code aware of how to interpret endpoint strings. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>pull/1874/head
parent
777c816b34
commit
a0dacba877
Loading…
Reference in New Issue