diff options
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c index 90f17b71b5..cbce28f1ba 100644 --- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c +++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c @@ -403,7 +403,6 @@ SyslogBuildPacket ( Time.Minute,
Time.Second
);
- Len--;
Len += (UINT32) AsciiSPrint (
Buf + Len,
@@ -414,7 +413,7 @@ SyslogBuildPacket ( Line,
File
);
- Len--;
+ Len ++;
//
// OK, patch the IP length/checksum and UDP length fields.
|