diff options
author | Peter Johnston <peterjohnston@google.com> | 2020-12-07 08:42:09 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-07 08:44:44 -0800 |
commit | eeb23531ebef4fc44af317b4e4a8834c8b069dd9 (patch) | |
tree | 59e719d4f35672554d943608ed8ac318f18bdcd8 /runsc | |
parent | a97ceec01bc464c9efa5d8140906c46f637e9002 (diff) |
Support icmpv6 transport protocol
PiperOrigin-RevId: 346101076
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/boot/loader.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index 86bdc6ae3..3df013d34 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -1082,7 +1082,12 @@ func newRootNetworkNamespace(conf *config.Config, clock tcpip.Clock, uniqueID st func newEmptySandboxNetworkStack(clock tcpip.Clock, uniqueID stack.UniqueID) (inet.Stack, error) { netProtos := []stack.NetworkProtocolFactory{ipv4.NewProtocol, ipv6.NewProtocol, arp.NewProtocol} - transProtos := []stack.TransportProtocolFactory{tcp.NewProtocol, udp.NewProtocol, icmp.NewProtocol4} + transProtos := []stack.TransportProtocolFactory{ + tcp.NewProtocol, + udp.NewProtocol, + icmp.NewProtocol4, + icmp.NewProtocol6, + } s := netstack.Stack{stack.New(stack.Options{ NetworkProtocols: netProtos, TransportProtocols: transProtos, |