mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
Merge
This commit is contained in:
commit
7c3d72fd3a
30 changed files with 721 additions and 274 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -119,7 +119,7 @@ public class Promiscuous {
|
|||
|
||||
// join groups on all network interfaces
|
||||
NetworkConfiguration.probe()
|
||||
.multicastInterfaces(false)
|
||||
.ip4MulticastInterfaces(false)
|
||||
.forEach((nic) -> {
|
||||
try {
|
||||
mc1.joinGroup(toSocketAddress(group1), nic);
|
||||
|
@ -155,7 +155,7 @@ public class Promiscuous {
|
|||
|
||||
// leave groups on all network interfaces
|
||||
NetworkConfiguration.probe()
|
||||
.multicastInterfaces(false)
|
||||
.ip4MulticastInterfaces(false)
|
||||
.forEach((nic) -> {
|
||||
try {
|
||||
mc1.leaveGroup(toSocketAddress(group1), nic);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue