Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
// Save the configuration data.\r
//\r
CopyMem (&Instance->ConfigData, UdpConfigData, sizeof (Instance->ConfigData));\r
// Save the configuration data.\r
//\r
CopyMem (&Instance->ConfigData, UdpConfigData, sizeof (Instance->ConfigData));\r
- Instance->ConfigData.StationAddress = Ip4ConfigData.StationAddress;\r
- Instance->ConfigData.SubnetMask = Ip4ConfigData.SubnetMask;\r
+ IP4_COPY_ADDRESS (&Instance->ConfigData.StationAddress, &Ip4ConfigData.StationAddress);\r
+ IP4_COPY_ADDRESS (&Instance->ConfigData.SubnetMask, &Ip4ConfigData.SubnetMask);\r