gvisor icon indicating copy to clipboard operation
gvisor copied to clipboard

Test IPv4 multicast registration with interface address and index

Open copybara-service[bot] opened this issue 3 years ago • 0 comments

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.

copybara-service[bot] avatar Aug 08 '22 21:08 copybara-service[bot]