mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
wgengine/magicsock: add immutability documentation to endpointDisco
Updates #7825 Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
parent
fb18af5564
commit
a257b2f88b
@ -4085,6 +4085,8 @@ func ippDebugString(ua netip.AddrPort) string {
|
||||
// recalculated.
|
||||
type endpointSendFunc func([][]byte) error
|
||||
|
||||
// endpointDisco is the current disco key and short string for an endpoint. This
|
||||
// structure is immutable.
|
||||
type endpointDisco struct {
|
||||
key key.DiscoPublic // for discovery messages.
|
||||
short string // ShortString of discoKey.
|
||||
|
Loading…
Reference in New Issue
Block a user