mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Fix loopback code using deprecated variable.
This commit is contained in:
parent
9f3f051762
commit
57aaeebde1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue