diff options
author | Neil Fuller <nfuller@google.com> | 2015-03-17 11:54:29 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2015-03-17 13:18:43 +0000 |
commit | ef97a43c64f9b80714177ae16b5432fab7bdffde (patch) | |
tree | 39e351719140ec0d04814017472483caad8577c2 /json | |
parent | 0202f7b40ca46f4555b788683d477585d20c11b1 (diff) | |
download | libcore-ef97a43c64f9b80714177ae16b5432fab7bdffde.zip libcore-ef97a43c64f9b80714177ae16b5432fab7bdffde.tar.gz libcore-ef97a43c64f9b80714177ae16b5432fab7bdffde.tar.bz2 |
Fix for devices with multiple multicast-capable interfaces
test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
was wrong:
1) The sending socket was joining a group for no obvious reason except,
perhaps, to test null NetworkInterface handling.
2) The sending socket was always using the default interface to send
multicast packets, but receiving on a specified interface.
For devices with several interfaces we have reports of the test failing.
It is assumed to be because of (2) when the specified interface and
the default interface differ in the presence of multiple interfaces.
To explicitly test null handling for joinGroup() more tests have been
added.
Thanks to swl77wade for helping to track this down.
Bug: 159740
Change-Id: Ibb180f6d93770a95f70a6bfa34bfadd93aa3187e
Diffstat (limited to 'json')
0 files changed, 0 insertions, 0 deletions