Commit cdad6be2 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Make the getMac() method public, for use in CCDB

parent 6d9dcede
......@@ -479,7 +479,10 @@ public final class GUIDUtils {
private static final String SYS_ENTRY = "/sys/class/net";
private static synchronized byte[] getMac() {
* @return One of the MAC addresses of the machine where this code is running
public static synchronized byte[] getMac() {
if (MACAddress == null) {
// figure it out
MACAddress = new byte[6];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment