From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: hegdenag <nagaraj-p.hegde@hpe.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Carsey, Jaben" <jaben.carsey@intel.com>,
"Ni, Ruiyu" <ruiyu.ni@intel.com>
Subject: Re: [PATCH v1 1/1] ShellPkg/Ifconfig6: Update error message and add a new line
Date: Thu, 3 Aug 2017 02:05:39 +0000 [thread overview]
Message-ID: <895558F6EA4E3B41AC93A00D163B7274162FE750@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20170801054742.23300-1-nagaraj-p.hegde@hpe.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> hegdenag
> Sent: Tuesday, August 1, 2017 1:48 PM
> To: edk2-devel@lists.01.org
> Cc: Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>;
> Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [edk2] [PATCH v1 1/1] ShellPkg/Ifconfig6: Update error message and
> add a new line
>
> If DAD failed, we print "It failed to set", print the IPv6
> address and exit. We need a better error string
> and also, after printing the IPv6 address, we need a new line
> else the Shell> prompt will overwrite the IPv6 address. Fixed
> these issues in this patch.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
> ---
> ShellPkg/Library/UefiShellNetwork2CommandsLib/Ifconfig6.c | 2
> ++
>
> ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Comm
> andsLib.uni | 3 ++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ifconfig6.c
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ifconfig6.c
> index 6d8df8031b..a25d4e5d00 100644
> --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ifconfig6.c
> +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ifconfig6.c
> @@ -2,6 +2,7 @@
> The implementation for Shell command IfConfig6.
>
> Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> + (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR>
>
> This program and the accompanying materials
> are licensed and made available under the terms and conditions of the BSD
> License
> @@ -1490,6 +1491,7 @@ IfConfig6SetInterfaceInfo (
> &CfgManAddr[Index].Address,
> &CfgManAddr[Index].PrefixLength
> );
> + ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN
> (STR_IFCONFIG6_INFO_NEWLINE), gShellNetwork2HiiHandle);
> }
> }
>
> diff --git
> a/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> index 5c0fef0ff7..ee2f28717f 100644
> ---
> a/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> +++
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> @@ -2,6 +2,7 @@
>
> String definitions for UEFI Shell network 2 commands
> Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> + (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR>
>
> This program and the accompanying materials
> are licensed and made available under the terms and conditions
> @@ -92,7 +93,7 @@
> "Hint: Please type 'IfConfig6 -?' for help
> info.\r\n"
> #string STR_IFCONFIG6_ERR_UNKNOWN_COMMAND #language en-US
> "Unknown commands. Bad command %H%s%N is skipped.\r\n"
> "Hint: Please type 'IfConfig6 -?' for help
> info.\r\n"
> -#string STR_IFCONFIG6_ERR_ADDRESS_FAILED #language en-US "It
> failed to set .\r\n"
> +#string STR_IFCONFIG6_ERR_ADDRESS_FAILED #language en-US
> "Failed to configure IPv6 address: "
>
>
> #string STR_GET_HELP_PING6 #language en-US ""
> --
> 2.13.0.windows.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
prev parent reply other threads:[~2017-08-03 2:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-01 5:47 [PATCH v1 1/1] ShellPkg/Ifconfig6: Update error message and add a new line hegdenag
2017-08-01 8:16 ` Subramanian, Sriram
2017-08-03 2:05 ` Wu, Jiaxin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=895558F6EA4E3B41AC93A00D163B7274162FE750@SHSMSX103.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox