diff --git a/util/deephash/deephash_test.go b/util/deephash/deephash_test.go index f8c566959..f75300b1c 100644 --- a/util/deephash/deephash_test.go +++ b/util/deephash/deephash_test.go @@ -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}, }, }, },