FIX: Virtual Prüfung

This commit is contained in:
Roland Praml
2020-02-01 13:38:56 +13:00
committed by rob bygrave
parent 33416bffd0
commit 0a6c26e5d3
@@ -92,7 +92,7 @@ public class UuidV1IdGenerator extends UuidV1RndIdGenerator {
if (!network.isLoopback()) {
byte[] addr = network.getHardwareAddress();
if (validAddr(addr)) {
if (network.isUp() && network.isVirtual()) {
if (network.isUp() && !network.isVirtual()) {
logger.debug("Using interface {}", network);
return addr;
} else if (fallbackAddr == null) {