Merge pull request #15266 from mikemccand/no_mac_address
If we can't get a MAC address for the node, use a dummy one
This commit is contained in:
commit
6152d352aa
|
@ -65,8 +65,8 @@ public class MacAddressProvider {
|
||||||
byte[] address = null;
|
byte[] address = null;
|
||||||
try {
|
try {
|
||||||
address = getMacAddress();
|
address = getMacAddress();
|
||||||
} catch( SocketException se ) {
|
} catch (Throwable t) {
|
||||||
logger.warn("Unable to get mac address, will use a dummy address", se);
|
logger.warn("Unable to get mac address, will use a dummy address", t);
|
||||||
// address will be set below
|
// address will be set below
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue