summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-29 05:20:18 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-29 05:20:18 +0000
commitf7a5d58c57726da6adb47caacc3e213c0a92e465 (patch)
treeb893bb0f7f1752c92837a107f287d39665c0ec4b /MdeModulePkg/Universal
parent76cd9a03e5c2813ca8f7a653be2194611a28fb89 (diff)
downloadedk2-platforms-f7a5d58c57726da6adb47caacc3e213c0a92e465.tar.xz
Fix issue that ifconfig –c cannot clear IP address details.
Signed-off-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fan Jeff <jeff.fan@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13885 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c
index 58c4c1a02c..2878863ade 100644
--- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c
+++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c
@@ -1,7 +1,7 @@
/** @file
Helper functions for configuring or getting the parameters relating to Ip4.
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -215,7 +215,7 @@ Ip4ConfigConvertIfrNvDataToDeviceConfigData (
//
ZeroMem (&Ip4ConfigInstance->Ip4ConfigCallbackInfo, sizeof (IP4_SETTING_INFO));
- Status = EfiNicIp4ConfigSetInfo (Ip4ConfigInstance, NULL, TRUE);
+ Status = EfiNicIp4ConfigSetInfo (Ip4ConfigInstance, NULL, FALSE);
if (Status == EFI_NOT_FOUND) {
return EFI_SUCCESS;
}
@@ -629,7 +629,7 @@ Ip4DeviceRouteConfig (
FreePool (NicInfo);
} else {
ZeroMem (&Ip4ConfigInstance->Ip4ConfigCallbackInfo, sizeof (IP4_SETTING_INFO));
- Status = EfiNicIp4ConfigSetInfo (Ip4ConfigInstance, NULL, TRUE);
+ Status = EfiNicIp4ConfigSetInfo (Ip4ConfigInstance, NULL, FALSE);
}
}