gvisor
gvisor copied to clipboard
Test IPv4 multicast registration with interface address and index
Test IPv4 multicast registration with interface address and index
When setting IP_ADD_MEMBERSHIP on a UDP socket, if the additional
data provided is an ip_mreqn struct with an interface index
and an interface address set, the index takes precedence over the
address. This CL adds a test to verify conformance with Linux
behavior.