[FREELDR] PXE: Fix network packet size

1024 bytes should fit into a single network packet. CORE-15706
This commit is contained in:
Michael Fritscher
2019-02-19 16:04:20 +01:00
committed by Hermès BÉLUSCA - MAÏTO
parent e6be187c04
commit 4928e800a6
+1 -1
View File
@@ -32,7 +32,7 @@ static CHAR _OpenFileName[128];
static ULONG _FileSize = 0;
static ULONG _FilePosition = 0;
static ULONG _PacketPosition = 0;
static UCHAR _Packet[4096];
static UCHAR _Packet[1024]; // Should be a value which can be transferred well in one packet over the network
static UCHAR* _CachedFile = NULL;
static ULONG _CachedLength = 0;