summaryrefslogtreecommitdiffhomepage
path: root/pkg/dhcp/dhcp_test.go
diff options
context:
space:
mode:
authorGoogler <noreply@google.com>2018-09-28 12:16:47 -0700
committerShentubot <shentubot@google.com>2018-09-28 12:18:15 -0700
commitfb65b0b471621b430969fe1c3009bee68209bf67 (patch)
tree7e4d84cb3596bb2def1284388628f6c5f078b58a /pkg/dhcp/dhcp_test.go
parente22c4cba47c9e29c7bf6e6c4d064bb7f3a71ca2f (diff)
Change tcpip.Route.Mask to tcpip.AddressMask.
PiperOrigin-RevId: 214975659 Change-Id: I7bd31a2c54f03ff52203109da312e4206701c44c
Diffstat (limited to 'pkg/dhcp/dhcp_test.go')
-rw-r--r--pkg/dhcp/dhcp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/dhcp/dhcp_test.go b/pkg/dhcp/dhcp_test.go
index a187c5c2a..d60e3752b 100644
--- a/pkg/dhcp/dhcp_test.go
+++ b/pkg/dhcp/dhcp_test.go
@@ -57,7 +57,7 @@ func createStack(t *testing.T) *stack.Stack {
s.SetRouteTable([]tcpip.Route{{
Destination: tcpip.Address(strings.Repeat("\x00", 4)),
- Mask: tcpip.Address(strings.Repeat("\x00", 4)),
+ Mask: tcpip.AddressMask(strings.Repeat("\x00", 4)),
Gateway: "",
NIC: nicid,
}})