summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c')
-rwxr-xr-x[-rw-r--r--]ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
index 666ee9d8ea..5c50797631 100644..100755
--- a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
+++ b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
@@ -342,7 +342,7 @@ ShellCommandRunTftp (
goto Error;
}
- Mtftp4ConfigData = DefaultMtftp4ConfigData;
+ CopyMem (&Mtftp4ConfigData, &DefaultMtftp4ConfigData, sizeof (EFI_MTFTP4_CONFIG_DATA));
//
// Check the host IPv4 address