mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-08 22:12:21 +00:00
all: fix vet warnings
This commit is contained in:
@@ -2828,7 +2828,7 @@ func (de *discoEndpoint) Addrs() []wgcfg.Endpoint {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return []wgcfg.Endpoint{{host, uint16(port)}}
|
||||
return []wgcfg.Endpoint{{Host: host, Port: uint16(port)}}
|
||||
}
|
||||
|
||||
func (de *discoEndpoint) ClearSrc() {}
|
||||
|
||||
Reference in New Issue
Block a user