Kludge VirtIONet driver loopback packet size.

This commit is contained in:
GutPuncher 2023-12-08 00:22:59 -05:00
parent ea9e921b62
commit 0cc6d4c112
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7

View file

@ -203,7 +203,7 @@ I64 NetDriverPacketBufferGet(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...
return 0;
return ETHERNET_FRAME_SIZE;
}
U8 *EthernetMACGet() { return &VirtioNet.mac; }