diff --git a/derp/derphttp/derphttp_client.go b/derp/derphttp/derphttp_client.go index cf2868ae3..b2933ab4c 100644 --- a/derp/derphttp/derphttp_client.go +++ b/derp/derphttp/derphttp_client.go @@ -100,7 +100,7 @@ type Client struct { } func (c *Client) String() string { - return fmt.Sprintf("", c.serverPubKey.ShortString(), c.url) + return fmt.Sprintf("", c.ServerPublicKey().ShortString(), c.url) } // NewRegionClient returns a new DERP-over-HTTP client. It connects lazily.