Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
libcore
Commits
27ef0eb2
Commit
27ef0eb2
authored
10 years ago
by
Neil Fuller
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix for MulticastSocketTest for non-multicast interfaces" into lollipop-cts-dev
parents
7feb222f
94279b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
harmony-tests/src/test/java/org/apache/harmony/tests/java/net/MulticastSocketTest.java
...rg/apache/harmony/tests/java/net/MulticastSocketTest.java
+1
-1
No files found.
harmony-tests/src/test/java/org/apache/harmony/tests/java/net/MulticastSocketTest.java
View file @
27ef0eb2
...
...
@@ -706,7 +706,7 @@ public class MulticastSocketTest extends junit.framework.TestCase {
Enumeration
theInterfaces
=
NetworkInterface
.
getNetworkInterfaces
();
while
(
theInterfaces
.
hasMoreElements
())
{
NetworkInterface
thisInterface
=
(
NetworkInterface
)
theInterfaces
.
nextElement
();
if
(
thisInterface
.
getInetAddresses
().
hasMoreElements
()
&&
thisInterface
.
isUp
(
))
{
if
(
willWorkForMulticast
(
thisInterface
))
{
if
((!(
thisInterface
.
getInetAddresses
().
nextElement
()).
isLoopbackAddress
()))
{
MulticastSocket
receivingSocket
=
createReceivingSocket
(
0
);
InetSocketAddress
groupAddress
=
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment