Commit 77110aac authored by Yi Kong's avatar Yi Kong
Browse files

DatagramSocket should set IP_MULTICAST_ALL to 0

Incorrectly removed explicit setting of IP_MULTICAST_ALL in
DatagramSocket rewrite (Libcore change 5e0df135) due to
misinterpretation of the spec, and broke apps that uses Multicast
socket. This change reintroduces the explicit setsockopt during
socket creation.

Tests will be added in a follow-up change.

Test: Manual testing
Bug: 33957878
Change-Id: I665c59372c803df81800ef1a19fca88fd49425ae
parent 25e0f5fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment