Revision: 14744
          http://sourceforge.net/p/edk2/code/14744
Author:   jcarsey
Date:     2013-10-04 15:38:38 +0000 (Fri, 04 Oct 2013)
Log Message:
-----------
ShellPkg: Fix ?\226?\128?\152ifconfig?\226?\128?\153 so it will build with 
NIC_IP4_CONFIG_INFO.Permanent change, and update the 
STR_IFCONFIG_PERMANENT_STATUS string token.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <[email protected]>
reviewed-by: Jaben Carsey <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c

Modified: trunk/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c 
2013-10-01 22:12:51 UTC (rev 14743)
+++ trunk/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c 
2013-10-04 15:38:38 UTC (rev 14744)
@@ -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.<BR>
 
   This program and the accompanying materials
@@ -1388,7 +1389,7 @@
   }
 
   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 @@
     }
 
     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;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to