From f7a5d58c57726da6adb47caacc3e213c0a92e465 Mon Sep 17 00:00:00 2001 From: tye1 Date: Mon, 29 Oct 2012 05:20:18 +0000 Subject: =?UTF-8?q?Fix=20issue=20that=20ifconfig=20=E2=80=93c=20cannot=20c?= =?UTF-8?q?lear=20IP=20address=20details.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ye Ting Reviewed-by: Fan Jeff Reviewed-by: Fu Siyuan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13885 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg') 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.
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
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); } } -- cgit v1.2.3