MCPcopy Create free account
hub / github.com/tailscale/tailscale / LegacyDERPString

Method LegacyDERPString

tailcfg/tailcfg_view.go:226–226  ·  view source on GitHub ↗

LegacyDERPString is this node's home LegacyDERPString region ID integer, but shoved into an IP:port string for legacy reasons. The IP address is always "127.3.3.40" (a loopback address (127) followed by the digits over the letters DERP on a QWERTY keyboard (3.3.40)). The "port number" is the home Le

()

Source from the content-addressed store, hash-verified

224// other than in the upgradeNode func, which canonicalizes it to HomeDERP
225// if it arrives as a LegacyDERPString string on the wire.
226func (v NodeView) LegacyDERPString() string { return v.ж.LegacyDERPString }
227
228// HomeDERP is the modern version of the DERP string field, with just an
229// integer. The client advertises support for this as of capver 111.

Callers 1

peerChangeDiffFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected