mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
e6b6f2aa11
By default in runsc, we have both IPv4 and IPv6 addresses enabled on all the interfaces. However, in runc this is based on the sysctl net.ipv6.conf.all.disable_ipv6. This CL will make runsc behave similar to runc. - If net.ipv6.conf.all.disable_ipv6 is > 0, then only IPv4 addresses will be enabled on the interfaces including loopback when network mode is "sandbox". PiperOrigin-RevId: 737656607