]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c
1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Dhcp4Dxe / Dhcp4Impl.c
index 3595e784a0205b9c290d994915991848742e763b..d9ee3229cdc66ccc4913a6c8b32abe2ed8439393 100644 (file)
@@ -161,7 +161,7 @@ DhcpCopyConfigure (
   INTN                      Len;\r
   UINT32                    Index;\r
 \r
-  CopyMem (Dst, Src, sizeof (Dst));\r
+  CopyMem (Dst, Src, sizeof (*Dst));\r
   Dst->DiscoverTimeout  = NULL;\r
   Dst->RequestTimeout   = NULL;\r
   Dst->OptionList       = NULL;\r