https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3c797b314fb639e04c8fa…
commit 3c797b314fb639e04c8fa75f010c81a4924d674d
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Sat Apr 29 23:02:03 2023 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Apr 29 23:02:03 2023 +0200
[E1000] Stop logging MAC, is sensitive data of log-contributors (#5254)
---
drivers/network/dd/e1000/hardware.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/network/dd/e1000/hardware.c b/drivers/network/dd/e1000/hardware.c
index c0c41ce9403..94208847274 100644
--- a/drivers/network/dd/e1000/hardware.c
+++ b/drivers/network/dd/e1000/hardware.c
@@ -676,6 +676,7 @@ NICGetPermanentMacAddress(
Adapter->PermanentMacAddress[n * 2 + 1] = (AddrWord >> 8) & 0xff;
}
+#if 0
NDIS_DbgPrint(MIN_TRACE, ("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
Adapter->PermanentMacAddress[0],
Adapter->PermanentMacAddress[1],
@@ -683,6 +684,7 @@ NICGetPermanentMacAddress(
Adapter->PermanentMacAddress[3],
Adapter->PermanentMacAddress[4],
Adapter->PermanentMacAddress[5]));
+#endif
return NDIS_STATUS_SUCCESS;
}