summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-20 00:51:12 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-20 00:51:12 +0000
commit2f57e8dce7cdcef0b4fa078e281b5841c041e6c5 (patch)
tree7e92e5f60a3faed630699ebc50b5ada0b0c39afd /pkg/sentry
parent2b35596adba91f96563abf9f7baf28fc45c39331 (diff)
parent2daa21e4d73f2297a8bca32c76100333e9ac4af4 (diff)
Merge release-20200211.0-47-g2daa21e (automated)
Diffstat (limited to 'pkg/sentry')
-rwxr-xr-xpkg/sentry/socket/netstack/provider.go2
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 100755
--- 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: