[E1000] Stop logging MAC, is sensitive data of log-contributors (#5254)

This commit is contained in:
Joachim Henze 2023-04-29 23:02:03 +02:00 committed by GitHub
parent 7ee41e9e60
commit 3c797b314f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -676,6 +676,7 @@ NICGetPermanentMacAddress(
Adapter->PermanentMacAddress[n * 2 + 1] = (AddrWord >> 8) & 0xff; Adapter->PermanentMacAddress[n * 2 + 1] = (AddrWord >> 8) & 0xff;
} }
#if 0
NDIS_DbgPrint(MIN_TRACE, ("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n", NDIS_DbgPrint(MIN_TRACE, ("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
Adapter->PermanentMacAddress[0], Adapter->PermanentMacAddress[0],
Adapter->PermanentMacAddress[1], Adapter->PermanentMacAddress[1],
@ -683,6 +684,7 @@ NICGetPermanentMacAddress(
Adapter->PermanentMacAddress[3], Adapter->PermanentMacAddress[3],
Adapter->PermanentMacAddress[4], Adapter->PermanentMacAddress[4],
Adapter->PermanentMacAddress[5])); Adapter->PermanentMacAddress[5]));
#endif
return NDIS_STATUS_SUCCESS; return NDIS_STATUS_SUCCESS;
} }