From 891e9f05813ac4429860c90661e84550570de44d Mon Sep 17 00:00:00 2001 From: Chris Phillips Date: Fri, 4 Oct 2013 15:38:38 +0000 Subject: =?UTF-8?q?ShellPkg:=20Fix=20=E2=80=98ifconfig=E2=80=99=20so=20it?= =?UTF-8?q?=20will=20build=20with=20NIC=5FIP4=5FCONFIG=5FINFO.Permanent=20?= =?UTF-8?q?change,=20and=20update=20the=20STR=5FIFCONFIG=5FPERMANENT=5FSTA?= =?UTF-8?q?TUS=20string=20token.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14744 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c index 5573e74238..f837bab454 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c @@ -1,6 +1,7 @@ /** @file The implementation for ifcommand shell command. + Copyright (c) 2013 Hewlett-Packard Development Company, L.P. Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials @@ -1388,7 +1389,7 @@ IfconfigSetNicAddr ( } CopyMem (&Config->NicAddr, &Info->NicAddress, sizeof (NIC_ADDR)); - Config->Perment = Permanent; + Config->Permanent = Permanent; // // Use HII service to set NIC address @@ -1474,9 +1475,9 @@ IfconfigShowNicInfo ( } ShellPrintHiiEx(-1, -1, NULL, - STRING_TOKEN (STR_IFCONFIG_PERMENT_STATUS), + STRING_TOKEN (STR_IFCONFIG_PERMANENT_STATUS), gShellNetwork1HiiHandle, - (NicInfo->ConfigInfo->Perment? L"TRUE":L"FALSE") + (NicInfo->ConfigInfo->Permanent? L"TRUE":L"FALSE") ); Ip4Config = &NicInfo->ConfigInfo->Ip4Info; -- cgit v1.2.3