mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
Kludge VirtIONet driver loopback packet size.
This commit is contained in:
parent
ea9e921b62
commit
0cc6d4c112
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ I64 NetDriverPacketBufferGet(I64 de_index)
|
||||||
|
|
||||||
I64 NetDriverPacketLengthGet(I64 de_index)
|
I64 NetDriverPacketLengthGet(I64 de_index)
|
||||||
{ // TODO: ... de_index in Alec's VirtIO-Net driver don't match up to any way to get packet length...
|
{ // TODO: ... de_index in Alec's VirtIO-Net driver don't match up to any way to get packet length...
|
||||||
return 0;
|
return ETHERNET_FRAME_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
U8 *EthernetMACGet() { return &VirtioNet.mac; }
|
U8 *EthernetMACGet() { return &VirtioNet.mac; }
|
||||||
|
|
Loading…
Reference in a new issue