try {
String hexString = getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR);
if (hexString != null && hexString.length() == 12) {
return hexString;
} else {
<BUG>return normalizeMacAddress(getDisplayString(IpNetToMediaTableEntry.INTM_PHYSADDR));
}</BUG>
} catch (IllegalArgumentException e) {
LOG.warn("IllegalArgumentException", e);
}

try {
String hexString = getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR);
if (hexString != null && hexString.length() == 12) {
return hexString;
} else {
String mac = getValue(IpNetToMediaTableEntry.INTM_PHYSADDR).toDisplayString();
return mac == null || mac.trim().isEmpty() ? null : normalizeMacAddress(mac);
}
} catch (IllegalArgumentException e) {
LOG.warn("IllegalArgumentException", e);
}
