summaryrefslogtreecommitdiffstats
path: root/StdLib/EfiSocketLib/Tcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/EfiSocketLib/Tcp6.c')
-rw-r--r--StdLib/EfiSocketLib/Tcp6.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/StdLib/EfiSocketLib/Tcp6.c b/StdLib/EfiSocketLib/Tcp6.c
index 6f2cf75779..b070aaa724 100644
--- a/StdLib/EfiSocketLib/Tcp6.c
+++ b/StdLib/EfiSocketLib/Tcp6.c
@@ -1636,6 +1636,11 @@ EslTcp6Receive (
CopyMem ( pBuffer, pPacket->pBuffer, DataLength );
//
+ // Set the next buffer address
+ //
+ pBuffer += DataLength;
+
+ //
// Determine if the data is being read
//
if ( *pbConsumePacket ) {