diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-19 16:47:58 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-02-19 16:48:57 -0800 |
commit | 2daa21e4d73f2297a8bca32c76100333e9ac4af4 (patch) | |
tree | bf3f86947cd1295d17ef2acfdd1050aa94814c26 /pkg/sentry/socket/netstack/provider.go | |
parent | 660cfdff3f2ac771c6f0f18834921cfc043b2f3a (diff) |
Internal change.
PiperOrigin-RevId: 296088213
Diffstat (limited to 'pkg/sentry/socket/netstack/provider.go')
-rw-r--r-- | pkg/sentry/socket/netstack/provider.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/socket/netstack/provider.go b/pkg/sentry/socket/netstack/provider.go index 5afff2564..5f181f017 100644 --- a/pkg/sentry/socket/netstack/provider.go +++ b/pkg/sentry/socket/netstack/provider.go @@ -75,6 +75,8 @@ func getTransportProtocol(ctx context.Context, stype linux.SockType, protocol in switch protocol { case syscall.IPPROTO_ICMP: return header.ICMPv4ProtocolNumber, true, nil + case syscall.IPPROTO_ICMPV6: + return header.ICMPv6ProtocolNumber, true, nil case syscall.IPPROTO_UDP: return header.UDPProtocolNumber, true, nil case syscall.IPPROTO_TCP: |