mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
util/deephash: use keyed struct literal, fix vet
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
bf9f279768
commit
e0258ffd92
@ -107,7 +107,7 @@ func getVal() []interface{} {
|
||||
DstPorts: []tailcfg.NetPortRange{
|
||||
{
|
||||
IP: "1.2.3.4/32",
|
||||
Ports: tailcfg.PortRange{1, 2},
|
||||
Ports: tailcfg.PortRange{First: 1, Last: 2},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user