diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-02-22 13:33:49 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-22 13:34:47 -0800 |
commit | b75aa515044367094e762985a4b1a1f0580e3ad6 (patch) | |
tree | 426b486ae27b30c8e74b623f6904d3487eeeec2a /pkg/tcpip/network/arp/arp_test.go | |
parent | 532f4b2fbaf66382a3d9e118b5a7a3ee272c8edc (diff) |
Rename ping endpoints to icmp endpoints.
PiperOrigin-RevId: 235248572
Change-Id: I5b0538b6feb365a98712c2a2d56d856fe80a8a09
Diffstat (limited to 'pkg/tcpip/network/arp/arp_test.go')
-rw-r--r-- | pkg/tcpip/network/arp/arp_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/network/arp/arp_test.go b/pkg/tcpip/network/arp/arp_test.go index 5894f9114..14b9cb8b6 100644 --- a/pkg/tcpip/network/arp/arp_test.go +++ b/pkg/tcpip/network/arp/arp_test.go @@ -26,7 +26,7 @@ import ( "gvisor.googlesource.com/gvisor/pkg/tcpip/network/arp" "gvisor.googlesource.com/gvisor/pkg/tcpip/network/ipv4" "gvisor.googlesource.com/gvisor/pkg/tcpip/stack" - "gvisor.googlesource.com/gvisor/pkg/tcpip/transport/ping" + "gvisor.googlesource.com/gvisor/pkg/tcpip/transport/icmp" ) const ( @@ -43,7 +43,7 @@ type testContext struct { } func newTestContext(t *testing.T) *testContext { - s := stack.New([]string{ipv4.ProtocolName, arp.ProtocolName}, []string{ping.ProtocolName4}, stack.Options{}) + s := stack.New([]string{ipv4.ProtocolName, arp.ProtocolName}, []string{icmp.ProtocolName4}, stack.Options{}) const defaultMTU = 65536 id, linkEP := channel.New(256, defaultMTU, stackLinkAddr) |