util/deephash: use keyed struct literal, fix vet

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/2344/head
Brad Fitzpatrick 3 years ago
parent bf9f279768
commit e0258ffd92

@ -107,7 +107,7 @@ func getVal() []interface{} {
DstPorts: []tailcfg.NetPortRange{ DstPorts: []tailcfg.NetPortRange{
{ {
IP: "1.2.3.4/32", IP: "1.2.3.4/32",
Ports: tailcfg.PortRange{1, 2}, Ports: tailcfg.PortRange{First: 1, Last: 2},
}, },
}, },
}, },

Loading…
Cancel
Save