From 57aaeebde1d8d4f4bf80d98e54f8df62835649d8 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Fri, 23 Dec 2022 02:22:58 -0500 Subject: [PATCH] Fix loopback code using deprecated variable. --- src/Home/Net/Drivers/PCNet.ZC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Home/Net/Drivers/PCNet.ZC b/src/Home/Net/Drivers/PCNet.ZC index 92825272..4f4c2bc1 100644 --- a/src/Home/Net/Drivers/PCNet.ZC +++ b/src/Home/Net/Drivers/PCNet.ZC @@ -585,7 +585,7 @@ U0 NetDriverTransmitPacketFinish(I64 de_index) I64 NetDriverPacketBufferGet(I64 de_index) { - return pcnet.tx_buffer_addr + de_index * ETHERNET_FRAME_SIZE; + return pcnet.tx_buffer_addr_phys + de_index * ETHERNET_FRAME_SIZE; } I64 NetDriverPacketLengthGet(I64 de_index)