summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/network/ipv6
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/tcpip/network/ipv6
parente22c4cba47c9e29c7bf6e6c4d064bb7f3a71ca2f (diff)
Change tcpip.Route.Mask to tcpip.AddressMask.
PiperOrigin-RevId: 214975659 Change-Id: I7bd31a2c54f03ff52203109da312e4206701c44c
Diffstat (limited to 'pkg/tcpip/network/ipv6')
-rw-r--r--pkg/tcpip/network/ipv6/icmp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/network/ipv6/icmp_test.go b/pkg/tcpip/network/ipv6/icmp_test.go
index b8e53c13e..fabbdc8c7 100644
--- a/pkg/tcpip/network/ipv6/icmp_test.go
+++ b/pkg/tcpip/network/ipv6/icmp_test.go
@@ -108,14 +108,14 @@ func newTestContext(t *testing.T) *testContext {
c.s0.SetRouteTable(
[]tcpip.Route{{
Destination: lladdr1,
- Mask: tcpip.Address(strings.Repeat("\xff", 16)),
+ Mask: tcpip.AddressMask(strings.Repeat("\xff", 16)),
NIC: 1,
}},
)
c.s1.SetRouteTable(
[]tcpip.Route{{
Destination: lladdr0,
- Mask: tcpip.Address(strings.Repeat("\xff", 16)),
+ Mask: tcpip.AddressMask(strings.Repeat("\xff", 16)),
NIC: 1,
}},
)