mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-6297 - displayName can also be null - thanks tbish
This commit is contained in:
parent
daf7e85e68
commit
5cc5022d2a
|
@ -350,7 +350,7 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent, Runnable {
|
|||
for (InterfaceAddress ia : ni.getInterfaceAddresses()) {
|
||||
if (ia != null && ia.getAddress() instanceof java.net.Inet4Address
|
||||
&& !ia.getAddress().isLoopbackAddress()
|
||||
&& !ni.getDisplayName().startsWith("vnic")) {
|
||||
&& (ni.getDisplayName()==null || !ni.getDisplayName().startsWith("vnic"))) {
|
||||
possibles.add(ni);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue