Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14744
6f19259b-4bc3-4df7-8a09-
765794883524
/** @file\r
The implementation for ifcommand shell command.\r
\r
/** @file\r
The implementation for ifcommand shell command.\r
\r
+ Copyright (c) 2013 Hewlett-Packard Development Company, L.P.\r
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
}\r
\r
CopyMem (&Config->NicAddr, &Info->NicAddress, sizeof (NIC_ADDR));\r
}\r
\r
CopyMem (&Config->NicAddr, &Info->NicAddress, sizeof (NIC_ADDR));\r
- Config->Perment = Permanent;\r
+ Config->Permanent = Permanent;\r
\r
//\r
// Use HII service to set NIC address\r
\r
//\r
// Use HII service to set NIC address\r
}\r
\r
ShellPrintHiiEx(-1, -1, NULL,\r
}\r
\r
ShellPrintHiiEx(-1, -1, NULL,\r
- STRING_TOKEN (STR_IFCONFIG_PERMENT_STATUS),\r
+ STRING_TOKEN (STR_IFCONFIG_PERMANENT_STATUS),\r
gShellNetwork1HiiHandle,\r
gShellNetwork1HiiHandle,\r
- (NicInfo->ConfigInfo->Perment? L"TRUE":L"FALSE")\r
+ (NicInfo->ConfigInfo->Permanent? L"TRUE":L"FALSE")\r
);\r
\r
Ip4Config = &NicInfo->ConfigInfo->Ip4Info;\r
);\r
\r
Ip4Config = &NicInfo->ConfigInfo->Ip4Info;\r